From: Michael Howe Date: Sat, 1 Mar 2014 10:34:35 +0000 (+0000) Subject: * with-creds: use /dev/shm for ccaches if exists, fall back to /tmp X-Git-Tag: 1.6~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3ceebf92ad3acdbda6d53a0fd5e9d87c50029c58;p=packages%2Fm%2Fmh-sysadmin-tools.git * with-creds: use /dev/shm for ccaches if exists, fall back to /tmp otherwise. This solves the issue of NFS picking the wrong credentials to identify the user. * with-creds: set -e so failures cause it to stop --- diff --git a/bin/with-creds b/bin/with-creds index a8724ee..f91549b 100755 --- a/bin/with-creds +++ b/bin/with-creds @@ -6,6 +6,8 @@ # $LastChangedBy$ # +set -e + function usage { cat >&2 < Mon, 09 Dec 2013 20:32:42 +0000