diff --git a/data/client b/data/client index caffc58..4fc267c 100644 --- a/data/client +++ b/data/client @@ -30,11 +30,11 @@ start() { } stop(){ ebegin "Unmount domain resources" - if mount | grep ' /var/calculate/remote '; + if [[ `mount | grep ' /var/calculate/remote '` ]]; then umount /var/calculate/remote fi - if mount | grep '/var/calculate/client-home on /home '; + if [[ `mount | grep '/var/calculate/client-home on /home '` ]]; then umount /home fi