diff options
| author | Simon Rettberg | 2016-01-07 11:55:54 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-01-07 11:55:54 +0100 |
| commit | 32597ffe730bca88bfbba16d5b1079a7179e1e1d (patch) | |
| tree | d2ef49956b9d9e5a7e449d66e8544188385e1c5d /remote/modules/vmware/data | |
| parent | [vmchooser2] Configurable def. tab; fallback to mem size (diff) | |
| download | tm-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')
| -rw-r--r-- | remote/modules/vmware/data/etc/X11/Xreset.d/vmware | 4 |
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 |
