]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-install.c: give info that SOURCE argument is missing
authorHarald Hoyer <harald@redhat.com>
Sat, 30 Jun 2012 09:31:38 +0000 (11:31 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 2 Jul 2012 16:52:49 +0000 (18:52 +0200)
install/dracut-install.c

index 86c32dbb90f947d0480bbd0e8335af2eac1b1a63..778881a8434d9dd4b90773b157b42b1d0327c965 100644 (file)
@@ -601,6 +601,7 @@ static int parse_argv(int argc, char *argv[])
         }
 
         if (!optind || optind == argc) {
+                log_error("No SOURCE argument given");
                 usage(EXIT_FAILURE);
         }