diff --git a/config/rootfiles/core/121/update.sh b/config/rootfiles/core/121/update.sh index 1d4bd5306..4d19e48f5 100644 --- a/config/rootfiles/core/121/update.sh +++ b/config/rootfiles/core/121/update.sh @@ -29,6 +29,8 @@ core=121 exit_with_error() { # Set last succesfull installed core. echo $(($core-1)) > /opt/pakfire/db/core/mine + # don't start pakfire again at error + killall -KILL pak_update /usr/bin/logger -p syslog.emerg -t ipfire \ "core-update-${core}: $1" exit $2 diff --git a/config/rootfiles/core/122/update.sh b/config/rootfiles/core/122/update.sh index 6105bf280..71d197db8 100644 --- a/config/rootfiles/core/122/update.sh +++ b/config/rootfiles/core/122/update.sh @@ -29,6 +29,8 @@ core=122 exit_with_error() { # Set last succesfull installed core. echo $(($core-1)) > /opt/pakfire/db/core/mine + # don't start pakfire again at error + killall -KILL pak_update /usr/bin/logger -p syslog.emerg -t ipfire \ "core-update-${core}: $1" exit $2