1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 17:16:23 +01:00

Fix ret code in do_list in case of a non-existent file

This commit is contained in:
Marcus Huewe 2017-02-13 21:45:16 +01:00
parent 64cbb10095
commit 8efcb0b14d

View File

@ -441,6 +441,7 @@ class Osc(cmdln.Cmdln):
opts.expand = True
if fname and print_not_found:
print('file \'%s\' does not exist' % fname)
return 1
@cmdln.option('-s', '--skip-disabled', action='store_true',