aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dirlist.cgi.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dirlist.cgi.in')
-rwxr-xr-xscripts/dirlist.cgi.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dirlist.cgi.in b/scripts/dirlist.cgi.in
index c756273..796bbc4 100755
--- a/scripts/dirlist.cgi.in
+++ b/scripts/dirlist.cgi.in
@@ -522,7 +522,7 @@ sub cygwin_pathconv {
local($_) = @_;
local(*CYGPATH);
- open(CYGPATH, '-|') or exec('cygpath', '-w', $_);
+ open(CYGPATH, '-|') || exec('cygpath', '-w', $_);
$_ = <CYGPATH>;
close(CYGPATH);
s/\r?\n$//;