]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/slocate
use more set -eu
[config/dotfiles.git] / bin / slocate
index c1ce8a4fc520ce33de89c15d17208d803390d3be..43e1eb2e2a0a317d8d055bc739d0247a3be02225 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Search only in the local `locate` database. Created with `supdatedb`.
 
-# Copyright (C) 2012-2013  Simon Ruderich
+# Copyright (C) 2012-2014  Simon Ruderich
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -18,4 +18,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
+set -eu
+
 exec locate -d "$HOME/.tmp/locatedb" "$@"