From 5a7c84e8ca2f8e19cbca64e49326a87093d824a9 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Mon, 19 Feb 2018 09:59:19 +0100 Subject: [PATCH] Use exec instead of call && exit. --- home/bin/update-profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/bin/update-profile b/home/bin/update-profile index e0e597d..bc7faa5 100755 --- a/home/bin/update-profile +++ b/home/bin/update-profile @@ -47,7 +47,8 @@ fi # Putting exit 0 on same line here for security since the old script # will be deleted. echo "Using newer profile update script." - _CHECKOUT_DONE=1 home/bin/update-profile && exit 0 + export _CHECKOUT_DONE=1 + exec home/bin/update-profile fi fi