From f8641707496199e65eb37384791ff362d7710c72 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 26 Nov 2013 14:09:20 -0200 Subject: Cleanup at keyringer_check_tmp --- lib/keyringer/functions | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3