diff --git a/Dothem b/Dothem index 3f4a6bf64c..b0efcaa042 100755 --- a/Dothem +++ b/Dothem @@ -40,7 +40,9 @@ done for TRASH in /dev/shm /tmp "" do - if test -n "$TRASH" && mkdir -p "$TRASH/testpen" && test -w "TRASH/testpen" + if test -n "$TRASH" && + mkdir -p "$TRASH/testpen" 2>/dev/null && + test -w "TRASH/testpen" then TRASH="--root=$(cd "$TRASH/testpen" && /bin/pwd)" break