]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
su-common: ignore runuser(1) specific long option in CI CHECK
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 25 Dec 2025 05:00:43 +0000 (00:00 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 1 Jan 2026 03:50:01 +0000 (22:50 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
login-utils/su-common.c

index c75b702759115c19bc54e0241e1f73af270a72b2..9b0d040085f98f24c085f9c9ecaf8d8675fa4d8e 100644 (file)
@@ -1011,7 +1011,7 @@ int su_main(int argc, char **argv, int mode)
                {"shell", required_argument, NULL, 's'},
                {"group", required_argument, NULL, 'g'},
                {"supp-group", required_argument, NULL, 'G'},
-               {"user", required_argument, NULL, 'u'}, /* runuser only */
+               {"user", required_argument, NULL, 'u'}, /* runuser only  IGNORECHECK=yes */
                {"whitelist-environment", required_argument, NULL, 'w'},
                {"help", no_argument, 0, 'h'},
                {"version", no_argument, 0, 'V'},