diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-02-12 20:57:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-12 20:57:51 +0100 |
commit | 5ad061a94cbad8d5fc7b956fbb42454cef5258ff (patch) | |
tree | 2955af7acbd34f9be8873c0264ac1015ca870bcf | |
parent | 5054fde9136c41592cc8c789f4a1b99f5df1e15a (diff) |
setup: print --path suggestion only if the user didn't use --path
-rw-r--r-- | setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |