diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | electrum-server.install | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Dec 22 05:44:54 UTC 2015 +# Wed Dec 23 19:28:30 UTC 2015 pkgbase = electrum-server-git pkgdesc = Server to support Electrum python-based Bitcoin client pkgver = 20151128 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 |