| Index: chrome-update.py
|
| diff --git a/chrome-update.py b/chrome-update.py
|
| index 4f5731cb4d7c7c133645fbcdca368c61a5ec5152..2742a18df381e4ded41caa29bef3cf8c586b2f6f 100755
|
| --- a/chrome-update.py
|
| +++ b/chrome-update.py
|
| @@ -60,7 +60,7 @@ def DoBuild(chrome_root, args):
|
| return subprocess.call(cmd, cwd=chrome_root, shell=IS_WIN)
|
|
|
|
|
| -def Main(args):
|
| +def main(args):
|
| if len(args) < 3:
|
| print('Usage: chrome-update.py <path> [options]')
|
| print('See options from compile.py at')
|
| @@ -84,4 +84,8 @@ def Main(args):
|
|
|
|
|
| if __name__ == "__main__":
|
| - sys.exit(Main(sys.argv))
|
| + try:
|
| + sys.exit(main(sys.argv))
|
| + except KeyboardInterrupt:
|
| + print 'interrupted'
|
| + sys.exit(1)
|
|
|