]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
namei: reestablish --nosymlinks option's functionality
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 04:04:55 +0000 (23:04 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 13:39:32 +0000 (08:39 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
misc-utils/namei.c

index 0a9ed8df80eb50bdb8613bfe19e1aa60386fcc4e..3bfe216e39a853641a2822c69a8ee0e691ab0562 100644 (file)
@@ -387,7 +387,7 @@ static const struct option longopts[] =
        { "modes",       no_argument, NULL, 'm' },
        { "owners",      no_argument, NULL, 'o' },
        { "long",        no_argument, NULL, 'l' },
-       { "nolinks",     no_argument, NULL, 'n' },
+       { "nosymlinks",  no_argument, NULL, 'n' },
        { "vertical",    no_argument, NULL, 'v' },
 #ifdef HAVE_LIBSELINUX
        { "context",     no_argument, NULL, 'Z' },