From 25333c5bb09f126aca807903c35407c1b9dbcb3b Mon Sep 17 00:00:00 2001 From: boyska Date: Sat, 7 May 2011 00:19:05 +0200 Subject: [PATCH] Fixes 1594b2c :usage of 'try()' in tomb it is defined in tomb-open, but not in tomb --- src/tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tomb b/src/tomb index a388122..1778555 100755 --- a/src/tomb +++ b/src/tomb @@ -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