diff options
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index c562fd1c1..903e017e9 100755 --- a/bin/emerge +++ b/bin/emerge @@ -7,7 +7,10 @@ import os,sys os.environ["PORTAGE_CALLER"]="emerge" sys.path = ["/usr/lib/portage/pym"]+sys.path -import portage +try: + import portage +except KeyboardInterrupt: + sys.exit(1) # If they control C during imports, just die silently import emergehelp,xpak,string,re,commands,time,shutil,traceback,signal,socket,types from stat import * |