[equo] check "equo smart" argv len
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user