summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-06-30 11:31:38 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-02 18:52:49 +0200
commit34e43ceb0df05081b737f932b0bc2f0426fb5276 (patch)
tree8a7d0f3fb2b5c85def38d797d508466f3473f1de /install
parent7209df9e912c73318dcb380838bc1dbe24a43a4b (diff)
downloaddracut-34e43ceb0df05081b737f932b0bc2f0426fb5276.tar.gz
dracut-34e43ceb0df05081b737f932b0bc2f0426fb5276.tar.bz2
dracut-34e43ceb0df05081b737f932b0bc2f0426fb5276.zip
dracut-install.c: give info that SOURCE argument is missing
Diffstat (limited to 'install')
-rw-r--r--install/dracut-install.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/dracut-install.c b/install/dracut-install.c
index 86c32dbb..778881a8 100644
--- a/install/dracut-install.c
+++ b/install/dracut-install.c
@@ -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);
}