From: Thibault Godouet Date: Sun, 5 Dec 2021 17:55:42 +0000 (+0000) Subject: fixed parsing of @reboot lines X-Git-Tag: ver3_3_1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc2f455c07b03c234fa9d4cf6d8ae5ac1522f8fb;p=thirdparty%2Ffcron.git fixed parsing of @reboot lines --- diff --git a/fileconf.c b/fileconf.c index 2d53d57..975e354 100644 --- a/fileconf.c +++ b/fileconf.c @@ -1349,7 +1349,7 @@ read_shortcut(char *ptr, cf_t * cf) if (debug_opt) fprintf(stderr, " Shc : @reboot\n"); } - if (strcmp(shortcut, "resume") == 0) { + else if (strcmp(shortcut, "resume") == 0) { set_freq(cl->cl_option); set_runatresume(cl->cl_option); set_runonce(cl->cl_option);