keybase-gui: fix kbfs mount path check (#40080)

This commit is contained in:
Márton Boros 2018-07-17 18:47:55 +03:00 committed by Benjamin Staffin
parent 76e42081c8
commit b3c3df4007

View file

@ -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