Hide unzip output
This commit is contained in:
parent
89a9d5e2bf
commit
dadb2e4ddd
@ -60,7 +60,7 @@ foreach my $fp (glob("$dir/*")) {
|
|||||||
|
|
||||||
if (uc(substr($fp, -3)) == "ZIP") {
|
if (uc(substr($fp, -3)) == "ZIP") {
|
||||||
mkdir("/tmp/massupload");
|
mkdir("/tmp/massupload");
|
||||||
system("unzip -jCLL $fp file_id.diz -d /tmp/massupload");
|
system("unzip -jCLL $fp file_id.diz -d /tmp/massupload > /dev/null 2>&1");
|
||||||
if ( -f "/tmp/massupload/file_id.diz") {
|
if ( -f "/tmp/massupload/file_id.diz") {
|
||||||
print(" found description.\n");
|
print(" found description.\n");
|
||||||
local $/=undef;
|
local $/=undef;
|
||||||
|
Reference in New Issue
Block a user