It's impossible to pass this argument so it is pointless to keep the code to support it. --- login-utils/su-common.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/login-utils/su-common.c b/login-utils/su-common.c index 7fd2792..ca9f24b 100644 --- a/login-utils/su-common.c +++ b/login-utils/su-common.c @@ -744,7 +744,6 @@ su_main (int argc, char **argv, int mode) int optc; const char *new_user = DEFAULT_USER, *runuser_user = NULL; char *command = NULL; - int request_same_session = 0; char *shell = NULL; struct passwd *pw; struct passwd pw_copy; @@ -786,11 +785,6 @@ su_main (int argc, char **argv, int mode) command = optarg; break; - case 'C': - command = optarg; - request_same_session = 1; - break; - case 'f': fast_startup = true; break; @@ -924,7 +918,7 @@ su_main (int argc, char **argv, int mode) authenticate (pw); - if (request_same_session || !command || !pw->pw_uid) + if (!command || !pw->pw_uid) same_session = 1; /* initialize shell variable only if "-u <user>" not specified */ -- 1.8.4.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html