about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--perl/lib/Nix/Utils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Utils.pm b/perl/lib/Nix/Utils.pm
index 32fb0aafb808..392c45f2fffb 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";
 }