summaryrefslogtreecommitdiff
path: root/src/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index 270d08e3b..681a6798a 100644
--- a/src/env.c
+++ b/src/env.c
@@ -156,6 +156,6 @@ main (int argc, char **argv)
execvp (argv[optind], &argv[optind]);
int exit_status = errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE;
- error (0, errno, "%s", argv[optind]);
+ error (0, errno, "%s", quote (argv[optind]));
return exit_status;
}