Skip to content
Snippets Groups Projects
Commit f2ae7ba9 authored by Seblu's avatar Seblu
Browse files

system-upgrade: run checkservice only when success

parent ec9666d4
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,8 @@ if (( $UID != 0 )); then ...@@ -29,6 +29,8 @@ if (( $UID != 0 )); then
exit 1 exit 1
fi fi
pacman --sync --refresh --sysupgrade "$@" if pacman --sync --refresh --sysupgrade "$@"; then
checkservices
checkservices else
printf '\e[7;33;40mcheckservices not run because pacman did not exit zero\e[m\n'
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment