diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-11-26 14:09:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-11-26 14:09:20 -0200 |
commit | f8641707496199e65eb37384791ff362d7710c72 (patch) | |
tree | b37cc3dca5d21dd30979f5d99e81d790748d10bd | |
parent | 9594510d81e582327b70ab62c9214d5c3cdc41b8 (diff) | |
download | keyringer-f8641707496199e65eb37384791ff362d7710c72.tar.gz keyringer-f8641707496199e65eb37384791ff362d7710c72.tar.bz2 |
Cleanup at keyringer_check_tmp
-rwxr-xr-x | lib/keyringer/functions | 3 |
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 |