summaryrefslogtreecommitdiffstats
path: root/scripts/xdcc_autoget.pl
diff options
context:
space:
mode:
authorAlex Checca2015-11-10 23:37:13 -0500
committerAlex Checca2015-11-10 23:37:13 -0500
commitf97abc0ca55bb826820344614e1951caede45be7 (patch)
treeaad95b6415f4297d6bb35d33fa72ba65212b019f /scripts/xdcc_autoget.pl
parent661b5e115b51765e4116169344cb37c0374b25bc (diff)
downloadscripts.irssi.org-f97abc0ca55bb826820344614e1951caede45be7.tar.bz2
more TRAVIS CI fixes
Diffstat (limited to 'scripts/xdcc_autoget.pl')
-rw-r--r--scripts/xdcc_autoget.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/xdcc_autoget.pl b/scripts/xdcc_autoget.pl
index 323f6d5..c097b1e 100644
--- a/scripts/xdcc_autoget.pl
+++ b/scripts/xdcc_autoget.pl
@@ -500,7 +500,7 @@ sub ag_parseadd #parses add arguments for storage
print FILE $arg . "\n"; #print to file
}
close(FILE);
- copy($file, "/tmp/temp") or croak "COPY FAILED"; #copy to temp file so that duplicate lines [searches/bots] can be removed
+ copy($file, "/tmp/temp"); #copy to temp file so that duplicate lines [searches/bots] can be removed
unlink "$file";
open(TEMP, "<", "/tmp/temp");
open(FILE, ">", $file);
@@ -543,8 +543,8 @@ sub ag_parserem #parses remove arguments for deletion from file
close(TEMP);
}
close(TEMP2);
- copy("/tmp/temp2", $file) or croak "COPY FAILED"; #rewrite old file
- copy($file, "/tmp/temp") or croak "COPY FAILED";
+ copy("/tmp/temp2", $file); #rewrite old file
+ copy($file, "/tmp/temp");
unlink "$file";
open(TEMP, "<", "/tmp/temp");
open(SEARCHES, ">", $file);