From 1704b284cbb2a8dd8a7791d13d9741cdfa062aad Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 21 Apr 2021 23:08:44 +0200 Subject: [PATCH] apk-autoupdate: Fix `procs-need-restart: invalid option: -c` Option '-c' was dropped in 7476b9d184fec213487a97a3f35a662f89b32ca5. Fixes #6 --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index 46a3a31..65bc630 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -112,7 +112,7 @@ procs_using_modified_files() { local opts=$(printf -- '-f %s ' ${1:-*}) edebug "Executing: procs-need-restart $opts" - procs-need-restart -c $opts || retval=$? + procs-need-restart $opts || retval=$? set +f # enable globbing return $retval