aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crontab.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r--miscutils/crontab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index 67b10f684..044440435 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -118,9 +118,9 @@ int crontab_main(int argc UNUSED_PARAM, char **argv)
118 argv += optind; 118 argv += optind;
119 119
120 if (sanitize_env_if_suid()) { /* Clears dangerous stuff, sets PATH */ 120 if (sanitize_env_if_suid()) { /* Clears dangerous stuff, sets PATH */
121 /* run by non-root? */ 121 /* Run by non-root */
122 if (opt_ler & (OPT_u|OPT_c)) 122 if (opt_ler & (OPT_u|OPT_c))
123 bb_error_msg_and_die("only root can use -c or -u"); 123 bb_error_msg_and_die(bb_msg_you_must_be_root);
124 } 124 }
125 125
126 if (opt_ler & OPT_u) { 126 if (opt_ler & OPT_u) {