From 26d7648f23fd964a9172a4c6222d884f76240160 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 20 Nov 2013 15:31:09 +0100 Subject: Updating functions --- .zsh.after/functions.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index e43dbd6..f136a4b 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -234,7 +234,8 @@ function lopen () { function lclose () { mountpoint /mnt/$1 - notmounted=$? + notmounted=$($?) + echo $notmounted if [[ $notmounted != 0 ]] ; then sudo umount /mnt/$1 sudo cryptsetup luksClose $1 -- cgit v1.2.3-70-g09d2