summaryrefslogtreecommitdiff
path: root/xmc
diff options
context:
space:
mode:
Diffstat (limited to 'xmc')
-rwxr-xr-xxmc11
1 files changed, 1 insertions, 10 deletions
diff --git a/xmc b/xmc
index 735ef64..40c20fe 100755
--- a/xmc
+++ b/xmc
@@ -1,12 +1,3 @@
#!/bin/bash
-# danish locale is broken - see http://bugs.debian.org/181027
-#export LC_ALL=C
-
-if [ $# -eq 0 ]; then
- xsh localhost mc
-elif [ $# -eq 1 -a "$1" = "su" ]; then
- xsh localhost mc su
-else
- xsh $@ mc
-fi
+exec xsh $@ -- mc