summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/etc/X11
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-07 11:55:54 +0100
committerSimon Rettberg2016-01-07 11:55:54 +0100
commit32597ffe730bca88bfbba16d5b1079a7179e1e1d (patch)
treed2ef49956b9d9e5a7e449d66e8544188385e1c5d /remote/modules/vmware/data/etc/X11
parent[vmchooser2] Configurable def. tab; fallback to mem size (diff)
downloadtm-scripts-32597ffe730bca88bfbba16d5b1079a7179e1e1d.tar.gz
tm-scripts-32597ffe730bca88bfbba16d5b1079a7179e1e1d.tar.xz
tm-scripts-32597ffe730bca88bfbba16d5b1079a7179e1e1d.zip
[vmware] Don't call exit in a script that's being sourced
Diffstat (limited to 'remote/modules/vmware/data/etc/X11')
-rw-r--r--remote/modules/vmware/data/etc/X11/Xreset.d/vmware4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/vmware/data/etc/X11/Xreset.d/vmware b/remote/modules/vmware/data/etc/X11/Xreset.d/vmware
index ee436292..19323da0 100644
--- a/remote/modules/vmware/data/etc/X11/Xreset.d/vmware
+++ b/remote/modules/vmware/data/etc/X11/Xreset.d/vmware
@@ -4,7 +4,7 @@
VMWARE_TMP_DIRS="$(cat /proc/mounts | grep "/tmp/vmware-" | awk -F " " '{print $1}')"
for DIR in $VMWARE_TMP_DIRS; do
- umount -l "$DIR" || echo "Could not unmount."
+ umount "$DIR"
done
+true
-exit 0