mirror of
https://github.com/mmozeiko/pkg2zip.git
synced 2026-09-03 03:29:59 +03:00
fixed error. if condition check now correct value
This commit is contained in:
committed by
Mārtiņš Možeiko
parent
1ee8cdc52f
commit
0b60c668b8
@@ -562,7 +562,7 @@ int main(int argc, char* argv[])
|
|||||||
sys_output("%s\n", root);
|
sys_output("%s\n", root);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
else if (listing || zipped)
|
else if (listing && zipped == 0)
|
||||||
{
|
{
|
||||||
sys_error("ERROR: Listing option without creating zip is useless\n");
|
sys_error("ERROR: Listing option without creating zip is useless\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user