Fixes 1594b2c :usage of 'try()' in tomb

it is defined in tomb-open, but not in tomb
This commit is contained in:
boyska 2011-05-07 00:19:05 +02:00
parent 5029c2884a
commit 25333c5bb0

View File

@ -84,7 +84,7 @@ check_bin() {
# safe dir creation function
safe_dir() {
try mktemp
which mktemp &> /dev/null
if [[ $? = 0 ]]; then
mktemp -d /dev/shm/$1.XXXX.$$
return