„runupdate“ ändern

This commit is contained in:
Yann Mölle 2023-04-19 19:57:16 +02:00
parent b18804513f
commit 45bce45f0d

View File

@ -21,7 +21,7 @@ update_server () {
ssh $user@$1 "sudo apt-get update > /dev/null && sudo apt-get upgrade -y" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Update successful on $1"
else
elif [ -n "$updates" ]; then
echo "Update failed on $1"
fi
}