summarylogtreecommitdiffstats
path: root/electrum-server.install
diff options
context:
space:
mode:
Diffstat (limited to 'electrum-server.install')
-rw-r--r--electrum-server.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/electrum-server.install b/electrum-server.install
index 46c43cc77bee..eda23660c707 100644
--- a/electrum-server.install
+++ b/electrum-server.install
@@ -51,7 +51,7 @@ _rmuser() {
# check if dir is btrfs
_is_btrfs() {
- if [[ $(df -TP "$1" | tail -n 1 | awk '{print $2}') == 'btrfs' ]]; then
+ if [[ $(findmnt --target $1 --output FSTYPE --noheadings) == 'btrfs' ]]; then
return 0
else
return 1