Blame 0009-dracut-install.c-give-info-that-SOURCE-argument-is-m.patch
|
Harald Hoyer |
c4a5a0 |
From 34e43ceb0df05081b737f932b0bc2f0426fb5276 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
c4a5a0 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
c4a5a0 |
Date: Sat, 30 Jun 2012 11:31:38 +0200
|
|
Harald Hoyer |
c4a5a0 |
Subject: [PATCH] dracut-install.c: give info that SOURCE argument is missing
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
---
|
|
Harald Hoyer |
c4a5a0 |
install/dracut-install.c | 1 +
|
|
Harald Hoyer |
c4a5a0 |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
diff --git a/install/dracut-install.c b/install/dracut-install.c
|
|
Harald Hoyer |
c4a5a0 |
index 86c32db..778881a 100644
|
|
Harald Hoyer |
c4a5a0 |
--- a/install/dracut-install.c
|
|
Harald Hoyer |
c4a5a0 |
+++ b/install/dracut-install.c
|
|
Harald Hoyer |
c4a5a0 |
@@ -601,6 +601,7 @@ static int parse_argv(int argc, char *argv[])
|
|
Harald Hoyer |
c4a5a0 |
}
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
if (!optind || optind == argc) {
|
|
Harald Hoyer |
c4a5a0 |
+ log_error("No SOURCE argument given");
|
|
Harald Hoyer |
c4a5a0 |
usage(EXIT_FAILURE);
|
|
Harald Hoyer |
c4a5a0 |
}
|
|
Harald Hoyer |
c4a5a0 |
|