diff options
Diffstat (limited to 'lib/getcwd.pl')
-rw-r--r-- | lib/getcwd.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getcwd.pl b/lib/getcwd.pl index 8db8e20c06..d8860181c1 100644 --- a/lib/getcwd.pl +++ b/lib/getcwd.pl @@ -54,7 +54,7 @@ sub getcwd } $cwd = "$dir/$cwd"; closedir(getcwd'PARENT); #'); - } while ($dir); + } while ($dir ne ''); chop($cwd); $cwd; } |