aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile.d/systemd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/systemd.sh b/sh/profile.d/systemd.sh
index 3c8bf04c..a6e1b707 100644
--- a/sh/profile.d/systemd.sh
+++ b/sh/profile.d/systemd.sh
@@ -1,4 +1,4 @@
# If systemctl is installed, use $VISUAL as its editor, not $EDITOR
-command -v systemctl >/dev/null 2>&1 || exit
+command -v systemctl >/dev/null 2>&1 || return
SYSTEMD_EDITOR=$VISUAL
export SYSTEMD_EDITOR