summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/archroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archroot.sh b/lib/archroot.sh
index f279603..2c03c82 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -42,7 +42,7 @@ is_subvolume() {
# return : whether $path_a and $path_b are on the same filesystem
##
is_same_fs() {
- [[ "$(stat -c %d "$1")" == "$(stat -c %d "$1")" ]]
+ [[ "$(stat -c %d "$1")" == "$(stat -c %d "$2")" ]]
}
##