]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: correct technicality in chroot's --help output
authorJim Meyering <meyering@fb.com>
Thu, 10 Aug 2017 14:42:56 +0000 (07:42 -0700)
committerJim Meyering <meyering@fb.com>
Thu, 10 Aug 2017 16:18:58 +0000 (09:18 -0700)
* src/chroot.c (usage): Use correct quoting in descriptive diagnostic.
We would run `"$SHELL" -i`, not `${SHELL} -i`.

src/chroot.c

index 885048f1efb742d0ca1c6541c04ab5c0402167ef..b8b72586da5036b5bdd1eab2fca5571b706469ec 100644 (file)
@@ -207,7 +207,7 @@ Run COMMAND with root directory set to NEWROOT.\n\
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       fputs (_("\
 \n\
-If no command is given, run '${SHELL} -i' (default: '/bin/sh -i').\n\
+If no command is given, run '"$SHELL" -i' (default: '/bin/sh -i').\n\
 "), stdout);
       emit_ancillary_info (PROGRAM_NAME);
     }