1
1
Fork 0
mirror of https://github.com/arkenfox/user.js.git synced 2024-05-25 05:26:13 +02:00

updater.sh: fix ignored errors

Closes #1810
This commit is contained in:
Sertonix 2024-04-26 15:16:54 +02:00
parent 33a84b608c
commit d77224cd4a

View File

@ -317,6 +317,8 @@ update_userjs() {
fi
[ "$VIEW" = true ] && open_file "${PWD}/user.js"
return 0
}
#########################
@ -388,7 +390,7 @@ if [ $# != 0 ]; then
fi
show_banner
update_updater "$@"
update_updater "$@" || exit $?
getProfilePath # updates PROFILE_PATH or exits on error
cd "$PROFILE_PATH" || exit 1
@ -402,6 +404,6 @@ you will need to change ownership of the following files to your user:\n'
exit 1
fi
update_userjs
update_userjs || exit $?
cd "$CURRDIR"