dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit ec8763cc1bd7bce22c0f250775950343666749c8
parent 68aa55517ec8d50c169e13cdbb6445f47121d95a
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun, 17 Feb 2019 14:33:13 +0100

Trap the interrupt signal

So you don't straight up quit everything if you interrupt while asking
for sudo password.


Former-commit-id: ca42cb19eba691f8359dfbc4d3f1473b74a117b5
Diffstat:
Mscripts/updatemaster | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/updatemaster b/scripts/updatemaster @@ -89,12 +89,14 @@ if ! command -v notify &> /dev/null; then fi ### Pre-authorise sudo ### +trap exit INT echo -e "Root permissions will be needed for global pip update.\n" if sudo -v; then sudo_auth=1 else sudo_auth=0 fi +trap - INT echo ### HOMEBREW ###