← Commit list

e13a53779

Denis Vlasenko
Denis Vlasenko
2006-12-23
FAILED Duration: 5s

Subject

su: fix typo: "argv -= optind" should be +=

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

loginutils/su.c+1 -1
@@ -24,7 +24,7 @@ int su_main(int argc, char **argv)
flags = getopt32(argc, argv, "mplc:s:", &opt_command, &opt_shell);
argc -= optind;
- argv -= optind;
+ argv += optind;
if (argc && LONE_DASH(argv[0])) {
flags |= SU_OPT_l;