diff options
author | Márton Boros <martonboros@gmail.com> | 2018-07-17 18:47:55 +0300 |
---|---|---|
committer | Benjamin Staffin <benley@gmail.com> | 2018-07-17 11:47:55 -0400 |
commit | b3c3df40074eaae2621cf6f15dacdae308f51fb2 (patch) | |
tree | 0cbf594a2b41304bfef8d906e0c010f90b56f515 | |
parent | 76e42081c859cf339e41af6577df8c4bbdb9c3de (diff) | |
download | nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar.gz nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar.bz2 nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar.lz nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar.xz nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.tar.zst nixlib-b3c3df40074eaae2621cf6f15dacdae308f51fb2.zip |
keybase-gui: fix kbfs mount path check (#40080)
-rw-r--r-- | pkgs/tools/security/keybase/gui.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/security/keybase/gui.nix b/pkgs/tools/security/keybase/gui.nix index b53860e406d2..1a7cf30b9528 100644 --- a/pkgs/tools/security/keybase/gui.nix +++ b/pkgs/tools/security/keybase/gui.nix @@ -70,10 +70,9 @@ stdenv.mkDerivation rec { checkFailed fi - ${utillinuxMinimal}/bin/mountpoint /keybase &>/dev/null - if [ "\$?" -ne "0" ]; then - echo "Keybase is not mounted to /keybase." >&2 - echo "You might need to run: kbfsfuse /keybase" >&2 + if [ -z "\$(keybase status | grep kbfsfuse)" ]; then + echo "Could not find kbfsfuse client in keybase status." >&2 + echo "You might need to run: kbfsfuse" >&2 checkFailed fi |