summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/live-helpers4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index d73f44d..0e1b691 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1585,8 +1585,8 @@ fix_home_rw_compatibility ()
fi
}
-is_mountpoint () {
-
+is_mountpoint ()
+{
directory="$1"
[ $(stat -fc%d:%D "${directory}") != $(stat -fc%d:%D "${directory}/..") ]