diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-20 11:45:01 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-20 11:45:01 +0100 |
commit | 048ec3d3f2b53a6a4a3d1215d40ed992944f83a3 (patch) | |
tree | fce7938a3eb9ca45554d68f6c068c59b0e1bb033 /perl | |
parent | 05cddf0f5af75de7a105404f619390a4ac3bec20 (diff) |
Fix bad operator
Spotted by Perl 5.20:
Possible precedence issue with control flow operator at /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-gnu-thread-multi/Nix/Utils.pm line 46.
Diffstat (limited to 'perl')
-rw-r--r-- | perl/lib/Nix/Utils.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Utils.pm b/perl/lib/Nix/Utils.pm index 32fb0aafb..392c45f2f 100644 --- a/perl/lib/Nix/Utils.pm +++ b/perl/lib/Nix/Utils.pm @@ -43,5 +43,5 @@ sub readFile { sub mkTempDir { my ($name) = @_; return tempdir("$name.XXXXXX", CLEANUP => 1, DIR => $ENV{"TMPDIR"} // $ENV{"XDG_RUNTIME_DIR"} // "/tmp") - or die "cannot create a temporary directory"; + || die "cannot create a temporary directory"; } |