From bc2f455c07b03c234fa9d4cf6d8ae5ac1522f8fb Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Sun, 5 Dec 2021 17:55:42 +0000 Subject: [PATCH] fixed parsing of @reboot lines --- fileconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3