[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch] Do not exit when loadkeys hits SystemError (#733595)



This was the old behaviour, I changed it because I thought
that it's an error, but looks like s390 is relying on
loadkeys not to exit with return code other than 0.
---
 command-stubs/loadkeys-stub |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/command-stubs/loadkeys-stub b/command-stubs/loadkeys-stub
index 59a4df0..565faeb 100755
--- a/command-stubs/loadkeys-stub
+++ b/command-stubs/loadkeys-stub
@@ -45,7 +45,7 @@ def main(prog, args):
     try:
         isys.loadKeymap(keymap)
     except SystemError as e:
-        err(e)
+        pass
 
 
 if __name__ == '__main__':
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]