diff options
-rw-r--r-- | lbu.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ mount_once() { # check if given dir is read-only is_ro() { - local tmpfile=$(mktemp -p "$1") + local tmpfile=$(mktemp -p "$1" 2>/dev/null) [ -z "$tmpfile" ] && return 0 rm -f "$tmpfile" return 1 |