diff options
author | Ubuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas> | 2022-07-01 10:00:36 +0000 |
---|---|---|
committer | Ubuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas> | 2022-07-01 10:00:36 +0000 |
commit | 588dc612774bbd2414e9e7aa67d7920dd75d4de4 (patch) | |
tree | 4b43f787250732ef510b3f5ca6d4a17a8ab3e6f2 | |
parent | 0bc1f6761099d405269e19b121e5c3250fce5fe5 (diff) | |
parent | b32439bd0b2f35fa454a5604016d299834314ccc (diff) |
Merge #425963 from ~kissiel/plainbox-provider-checkbox:fix-1980372-instant-usb-insert-pass
-rwxr-xr-x | bin/removable_storage_watcher.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/removable_storage_watcher.py b/bin/removable_storage_watcher.py index 7208954..988abc3 100755 --- a/bin/removable_storage_watcher.py +++ b/bin/removable_storage_watcher.py @@ -948,6 +948,10 @@ def main(): else: print("\n\n{} NOW\n\n".format(args.action.upper()), flush=True) + try: + return listener.check(args.timeout) + except KeyboardInterrupt: + return 1 if __name__ == "__main__": |