Improve the pack command, show more info and translate the exit code

This commit is contained in:
Anatol Belski
2017-08-28 13:05:18 +02:00
parent 64c2ac973c
commit ceececf83f

View File

@@ -170,7 +170,8 @@ try {
if ($force && is_file($pack_path)) { if ($force && is_file($pack_path)) {
unlink($pack_path); unlink($pack_path);
} }
`7za a $pack_path $path_to_pack`; system("7za a $pack_path $path_to_pack", $st);
exit((int)$st);
break; break;
} }