[equo] check "equo smart" argv len

This commit is contained in:
Fabio Erculiani
2010-02-07 08:05:11 +01:00
parent b21b33c80a
commit 6a18bfee9b
+3 -1
View File
@@ -51,6 +51,8 @@ def smart(options):
else:
newopts.append(opt)
options = newopts
if not options:
return -10
rc = 0
@@ -564,4 +566,4 @@ int main() {
entropy.tools.compress_tar_bz2(smartpath, pkgtmpdir)
shutil.rmtree(pkgtmpdir,True)
return 0
return 0