fixed error. if condition check now correct value

This commit is contained in:
Philipp Seiler
2018-07-15 12:45:43 -07:00
committed by Mārtiņš Možeiko
parent 1ee8cdc52f
commit 0b60c668b8
+1 -1
View File
@@ -562,7 +562,7 @@ int main(int argc, char* argv[])
sys_output("%s\n", root);
exit(0);
}
else if (listing || zipped)
else if (listing && zipped == 0)
{
sys_error("ERROR: Listing option without creating zip is useless\n");
}