]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Cleanup at keyringer_check_tmp
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 26 Nov 2013 16:09:20 +0000 (14:09 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 26 Nov 2013 16:09:20 +0000 (14:09 -0200)
lib/keyringer/functions

index 53afd1df429f458832cb4aec93072917284b3918..bef00d9759ec9202906a675cf49bed477d40a6dd 100755 (executable)
@@ -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