diff options
author | Jonathan Bauer | 2019-02-27 13:43:00 +0100 |
---|---|---|
committer | Jonathan Bauer | 2019-02-27 13:43:00 +0100 |
commit | 53b5439ddf3e7dcf7eead4fcd6605c17b1a1dcc6 (patch) | |
tree | 7d8211900700e5ff5165548ee3b2638aa8c816ca /core/modules/vmware-common | |
parent | [hardware-stats/rootfs-stage32] Ignore USB sticks/HDDs (diff) | |
download | mltk-53b5439ddf3e7dcf7eead4fcd6605c17b1a1dcc6.tar.gz mltk-53b5439ddf3e7dcf7eead4fcd6605c17b1a1dcc6.tar.xz mltk-53b5439ddf3e7dcf7eead4fcd6605c17b1a1dcc6.zip |
[vmware-common] fix broken /tmp/vmware-* purge
Diffstat (limited to 'core/modules/vmware-common')
-rw-r--r-- | core/modules/vmware-common/data/etc/X11/Xreset.d/vmware | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmware-common/data/etc/X11/Xreset.d/vmware b/core/modules/vmware-common/data/etc/X11/Xreset.d/vmware index 83bfb392..6550ea6f 100644 --- a/core/modules/vmware-common/data/etc/X11/Xreset.d/vmware +++ b/core/modules/vmware-common/data/etc/X11/Xreset.d/vmware @@ -3,7 +3,7 @@ # # Unmount dirs that vmware sometimes leaves around -VMWARE_TMP_DIRS="$(cat /proc/mounts | grep "/tmp/vmware-" | awk -F " " '{print $1}')" +VMWARE_TMP_DIRS="$(df -P | grep -oE '/tmp/vmware-.*$')" for DIR in $VMWARE_TMP_DIRS; do umount "$DIR" && rmdir "$DIR" done |