summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-02-12 20:57:51 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-12 20:57:51 +0100
commit5ad061a94cbad8d5fc7b956fbb42454cef5258ff (patch)
tree2955af7acbd34f9be8873c0264ac1015ca870bcf
parent5054fde9136c41592cc8c789f4a1b99f5df1e15a (diff)
setup: print --path suggestion only if the user didn't use --path
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index e56b527..c7bcb4e 100644
--- a/setup.c
+++ b/setup.c
@@ -946,7 +946,7 @@ int main(int argc, char*argv[]) {
}
r = verify_esp();
- if (r == -ENODEV)
+ if (r == -ENODEV && !arg_path)
fprintf(stderr, "You might want to use --path= to indicate the path to your ESP, in case it is not mounted to /boot.\n");
if (r < 0)
goto finish;