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

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

 



On 08/29/2011 05:06 PM, Martin Gracik wrote:
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__':

Ack.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux