From: martin f. krafft Date: Sat, 10 May 2008 00:55:23 +0000 (+0100) Subject: reset -e and simplify suicide X-Git-Url: https://git.madduck.net/etc/mrsetup.git/commitdiff_plain/5f1a4a70965b2e291b5eda074197fef47c10f701?hp=8d723ff13bdbfacff2ae2f1847512bdec36bbd55 reset -e and simplify suicide --- diff --git a/mrsetup b/mrsetup index 275ec3a..6138043 100755 --- a/mrsetup +++ b/mrsetup @@ -5,7 +5,7 @@ # Copyright © 2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -set -u +set -eu MY_GIT_SERVER=git.madduck.net MY_GIT_REPOS='~/git' @@ -104,7 +104,7 @@ else echo fi -[ -f "$0" ] && rm $0 || : +rm -f "$0" echo I: spawning a shell... $SHELL --interactive --login