mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
script: remove else statement from do_action_service
Caused spamming of error messages when starting from a complete new Pi image.
This commit is contained in:
@@ -162,8 +162,6 @@ do_action_service(){
|
||||
sudo systemctl $1 "$service"
|
||||
ok_msg "$service $ACTION1!"
|
||||
done
|
||||
else
|
||||
ERROR_MSG="Service '$2' not found!" && print_msg && clear_msg
|
||||
fi
|
||||
shopt -u extglob # disable extended globbing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user