From: Simon Ruderich Date: Fri, 16 May 2014 23:39:48 +0000 (+0200) Subject: fix -X option X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1bc8ac76b48b4353161780a49509579367fb1bd8;p=wall-notify%2Fwall-notify.git fix -X option "-X" was passed as first argument to execvp() instead of the program name. --- diff --git a/src/wall-notify.c b/src/wall-notify.c index 80ae552..806204e 100644 --- a/src/wall-notify.c +++ b/src/wall-notify.c @@ -392,6 +392,7 @@ int main(int argc, char **argv) { usage(argv0); } argc--; /* for usage */ + argv++; } if (argc < 2) {