diff options
-rwxr-xr-x | upd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -207,3 +207,6 @@ else fi [ "$log" ] && printf '%s' "$log" | tee "$XDG_DOCUMENTS_DIR/logs/upd.log" [ "$hostname" = xyzpp ] && gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type suspend +# `[ "$hostname" = xyzpp ] && ...` if check failed will have exit status of 1, unlike check with `if` +# I decided to always `exit 0` if reached end, so commands like `upd -p && ...` can keep running +exit 0 |