summaryrefslogtreecommitdiffstats
path: root/fff
diff options
context:
space:
mode:
Diffstat (limited to 'fff')
-rwxr-xr-xfff2
1 files changed, 1 insertions, 1 deletions
diff --git a/fff b/fff
index 6727473..59a4e28 100755
--- a/fff
+++ b/fff
@@ -544,7 +544,7 @@ key() {
open "$PWD"
# If '$PWD' is '/', do nothing.
- elif [[ $PWD != / ]]; then
+ elif [[ $PWD && $PWD != / ]]; then
find_previous=1
open "${PWD%/*}"
fi