Created
October 12, 2018 23:52
-
-
Save ahkok/eab0b4ecca4b9623182544b74f45da0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/swupd-client-3.18.1/src/autoupdate.c b/swupd-client-3.18.1/src/autoupdate.c | |
| index 3fac775..6934307 100644 | |
| --- a/swupd-client-3.18.1/src/autoupdate.c | |
| +++ b/swupd-client-3.18.1/src/autoupdate.c | |
| @@ -101,7 +101,7 @@ int autoupdate_main(int argc, char **argv) | |
| check_root(); | |
| fprintf(stderr, "Running systemctl to enable updates\n"); | |
| rc = system("/usr/bin/systemctl unmask --now swupd-update.service swupd-update.timer" | |
| - " && /usr/bin/systemctl start swupd-update.timer > /dev/null"); | |
| + " && /usr/bin/systemctl restart swupd-update.timer > /dev/null"); | |
| if (rc != -1) { | |
| rc = WEXITSTATUS(rc); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment