diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 13:59:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 13:59:48 +0000 |
commit | bc8f437ef812336397cc9f9322974272981aeff9 (patch) | |
tree | 2664bef8866bbf0ab9250408c35388c53ae04447 /lbu.in | |
parent | fbf888234c0db5966447c3a29bf19b955c9ac66d (diff) | |
download | alpine-conf-bc8f437ef812336397cc9f9322974272981aeff9.zip |
lbu: hide error message when testing for read-only
Diffstat (limited to 'lbu.in')
-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 |