From 1bc8ac76b48b4353161780a49509579367fb1bd8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 17 May 2014 01:39:48 +0200 Subject: [PATCH] fix -X option "-X" was passed as first argument to execvp() instead of the program name. --- src/wall-notify.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.45.2