summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-03-10 05:59:40 +0000
committerJonas Smedegaard <dr@jones.dk>2002-03-10 05:59:40 +0000
commit2efc6bc6e6c3ddc1a83399e8d71913c73bded873 (patch)
tree4cc29727ced80bae6b0b957856339409004156c1
parent3224bc3a3dd870fd5fca7906df664de8b3d04907 (diff)
xmc: Put back some localhost logic - it was needed after all.
-rwxr-xr-xxmc8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmc b/xmc
index c175f86..12772f2 100755
--- a/xmc
+++ b/xmc
@@ -1,3 +1,9 @@
#!/bin/bash
-xsh mc $@
+if [ $# -eq 0 ]; then
+ host="localhost"
+else
+ host="$1"
+fi
+shift
+xsh $host mc $@