diff --git a/client/text_smart.py b/client/text_smart.py index 8e235ab93..78a653d49 100644 --- a/client/text_smart.py +++ b/client/text_smart.py @@ -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 \ No newline at end of file + return 0