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:
parent
64cbb10095
commit
8efcb0b14d
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user