summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-11 21:52:00 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-11 21:52:00 +0000
commit32a3ea5756c358ee163105a5aaddbd241a1a1a00 (patch)
treebf069a7cf70390761a502a0df47e350d61df084d /command-stubs
parent95be2d9d4432fa13e7a32b7285193363742a7c99 (diff)
downloadanaconda-32a3ea5756c358ee163105a5aaddbd241a1a1a00.tar.gz
anaconda-32a3ea5756c358ee163105a5aaddbd241a1a1a00.tar.xz
anaconda-32a3ea5756c358ee163105a5aaddbd241a1a1a00.zip
merge from rhel3 -- don't spew errors if loading the keymap fails
Diffstat (limited to 'command-stubs')
-rwxr-xr-xcommand-stubs/loadkeys-stub5
1 files changed, 4 insertions, 1 deletions
diff --git a/command-stubs/loadkeys-stub b/command-stubs/loadkeys-stub
index 25706d0c2..7d7e65dc0 100755
--- a/command-stubs/loadkeys-stub
+++ b/command-stubs/loadkeys-stub
@@ -19,7 +19,10 @@ def main():
if len(sys.argv) != 2:
usage()
- isys.loadKeymap(sys.argv[1])
+ try:
+ isys.loadKeymap(sys.argv[1])
+ except SystemError:
+ pass
sys.exit(0)
if __name__ == "__main__":