aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-26 14:09:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-26 14:09:20 -0200
commitf8641707496199e65eb37384791ff362d7710c72 (patch)
treeb37cc3dca5d21dd30979f5d99e81d790748d10bd
parent9594510d81e582327b70ab62c9214d5c3cdc41b8 (diff)
downloadkeyringer-f8641707496199e65eb37384791ff362d7710c72.tar.gz
keyringer-f8641707496199e65eb37384791ff362d7710c72.tar.bz2
Cleanup at keyringer_check_tmp
-rwxr-xr-xlib/keyringer/functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 53afd1d..bef00d9 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -123,8 +123,7 @@ function keyringer_check_tmp {
# Ramdisk check
mount="`df "$path" | sed -n '$p' | awk '{ print $NF }'`"
- mount -l -t tmpfs | awk '{ print $3 }' | grep -q -e "^$mount$";
- return $?
+ mount -l -t tmpfs | awk '{ print $3 }' | grep -q -e "^$mount$"
}
# Setup a temporary file