Skip to content

Commit 996881a

Browse files
authored
Update updater.sh
1 parent 4b42481 commit 996881a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

updater.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ update_updater() {
195195
echo -e "There is a newer version of updater.sh available. ${RED}Update and execute Y/N?${NC}"
196196
read -p "" -n 1 -r
197197
echo -e "\n\n"
198-
! [[ $REPLY =~ ^[Yy]$ ]] && return 0 # Update available, but user chooses not to update
198+
[[ $REPLY =~ ^[Yy]$ ]] || return 0 # Update available, but user chooses not to update
199199
fi
200200
else
201-
return 0 # No update available
201+
return 0 # No update available
202202
fi
203203
mv "${tmpfile}" "$SCRIPT_FILE"
204204
chmod u+x "$SCRIPT_FILE"

0 commit comments

Comments
 (0)