]> ruderich.org/simon Gitweb - wall-notify/wall-notify.git/commitdiff
fix -X option
authorSimon Ruderich <simon@ruderich.org>
Fri, 16 May 2014 23:39:48 +0000 (01:39 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 16 May 2014 23:39:48 +0000 (01:39 +0200)
"-X" was passed as first argument to execvp() instead of the program
name.

src/wall-notify.c

index 80ae552dfb353665fe54fc44defd2c4cb718352c..806204e09c975c27c6885b3785724c6e0662162e 100644 (file)
@@ -392,6 +392,7 @@ int main(int argc, char **argv) {
             usage(argv0);
         }
         argc--; /* for usage */
+        argv++;
     }
 
     if (argc < 2) {