zip, as any other process, should not pollute our standard output
unless explicitly asked to do so.
Change-Id: Ied5d31e453c528fffd9662aa5b324e0b7a743dbc
return;
}
- char *args[] = {
- "/bin/zip",
- "-y",
- "-r",
- zip_path,
- cinfo->name,
- NULL
- };
+ char *args[] = {"/bin/zip", "-qyr", zip_path, cinfo->name, NULL};
spawn_param_u param = { .char_ptr = cinfo->temp_dir };
(void)spawn_wait(args, NULL, spawn_chdir, ¶m, ZIP_TIMEOUT_MS, NULL);
}
_D("compress tempdir is %s", tempdir);
- char *av[] = {"/bin/zip", "-yr", archive_path, ".", NULL};
+ char *av[] = {"/bin/zip", "-qyr", archive_path, ".", NULL};
spawn_param_u param = { .char_ptr = tempdir };
bool is_ok = spawn_wait(av, NULL, spawn_chdir, ¶m, 0, exit_code);