]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
use set -eu
authorSimon Ruderich <simon@ruderich.org>
Sat, 13 Sep 2014 15:03:13 +0000 (17:03 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 13 Sep 2014 15:03:13 +0000 (17:03 +0200)
debian/bin/backup.sh
debian/bin/init-reprepro.sh

index 59e0ec11607b9cba849601c4b64708fd8a9b5c00..4b9bffa73334596cd947c52f8d0a81d0522482f4 100755 (executable)
@@ -19,8 +19,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-set -e
 
+set -eu
 
 # tar can't exclude it automatically because we pipe it through gpg.
 target="`pwd`/`hostname`.tar.gpg"
index bd309586ca015f4eb92f5843ff2e40d8fb927774..4014dc4b3a708b2efc6f3c1a8771ed6e622b7b2c 100755 (executable)
@@ -16,8 +16,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-set -e
 
+set -eu
 
 sources=/etc/apt/sources.list
 repo=/root/apt