From: Silvio Rhatto Date: Tue, 26 Nov 2013 16:09:20 +0000 (-0200) Subject: Cleanup at keyringer_check_tmp X-Git-Tag: 0.2.9~3 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f8641707496199e65eb37384791ff362d7710c72;p=keyringer.git Cleanup at keyringer_check_tmp --- 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