From 75a516665b1cc16e6824f0f4912d2a7d4bab7088 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 28 Apr 2020 13:14:09 +1200 Subject: Correct misplaced `exit` call in .profile.d file This was closing my connection immediately when I logged in interactively to any machine without systemd! --- sh/profile.d/systemd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/profile.d') 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 -- cgit v1.2.3