pmbootstrap/pmbootstrap.py

14 lines
337 B
Python
Raw Normal View History

2017-05-26 20:08:45 +00:00
#!/usr/bin/env python3
2021-01-07 22:30:30 +00:00
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
2018-08-27 21:35:05 +00:00
# PYTHON_ARGCOMPLETE_OK
2017-05-26 20:08:45 +00:00
import sys
import pmb
2017-05-26 20:08:45 +00:00
if __name__ == "__main__":
try:
sys.exit(pmb.main())
except KeyboardInterrupt:
print("\nCaught KeyboardInterrupt, exiting …")
sys.exit(130) # SIGINT(2) + 128