aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/nmount1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/nmount b/plugins/nmount
index ce9f99e..8a12742 100755
--- a/plugins/nmount
+++ b/plugins/nmount
@@ -19,6 +19,7 @@ fi
echo
if grep -qs "$dev " /proc/mounts; then
+ sync
pumount "$dev"
if [ "$?" -eq "0" ]; then
udisksctl power-off -b /dev/"$dev"