diff options
Diffstat (limited to 'electrum-server.install')
-rw-r--r-- | electrum-server.install | 2 |
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 |