[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/unsermake
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-03-24 13:59:44
Message-ID: 20050324135944.3A7BD5B6 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Make returns 130 on Ctrl+C. And make sure unsermake doesn't return 0
in such case.


  M +3 -2      __init__.py   1.312


--- kdenonbeta/unsermake/__init__.py  #1.311:1.312
@@ -272,5 +272,5 @@
                 if not fork:
                         raise ki
-                os._exit(1)
+                os._exit(130)
                 
         if ret:
@@ -565,4 +565,5 @@
                         except OSError:
                                 pass            
+                raise ki
 
 def finish_internal(all_defines, targ, children):
@@ -1302,5 +1303,5 @@
                 main()
         except KeyboardInterrupt, ki:
-                sys.exit(1)
+                sys.exit(130)
         
 sys.exit(utilities.sys_exit_code)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic