diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-03-10 05:59:40 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-03-10 05:59:40 +0000 |
commit | 2efc6bc6e6c3ddc1a83399e8d71913c73bded873 (patch) | |
tree | 4cc29727ced80bae6b0b957856339409004156c1 | |
parent | 3224bc3a3dd870fd5fca7906df664de8b3d04907 (diff) |
xmc: Put back some localhost logic - it was needed after all.
-rwxr-xr-x | xmc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ #!/bin/bash -xsh mc $@ +if [ $# -eq 0 ]; then + host="localhost" +else + host="$1" +fi +shift +xsh $host mc $@ |