Use exec instead of call && exit.

master
Icedream 2018-02-19 09:59:19 +01:00
parent c1736ea2ae
commit 5a7c84e8ca
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ fi
# Putting exit 0 on same line here for security since the old script # Putting exit 0 on same line here for security since the old script
# will be deleted. # will be deleted.
echo "Using newer profile update script." 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
fi fi