summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-19 09:54:36 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-19 09:54:36 -0200
commit9af0b6d75efe752b6089a629e5b00fb86a82bdf5 (patch)
treea27a6226b7a03e06c38616891d0acc56fbfe35b1
parenta14399b52c839be27836bed8ccd7f1ec942c18e8 (diff)
downloadhydra-9af0b6d75efe752b6089a629e5b00fb86a82bdf5.tar.gz
hydra-9af0b6d75efe752b6089a629e5b00fb86a82bdf5.tar.bz2
Oops
-rwxr-xr-xshare/hydractl/backup-copy-site2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-copy-site b/share/hydractl/backup-copy-site
index 3885e76..25dd354 100755
--- a/share/hydractl/backup-copy-site
+++ b/share/hydractl/backup-copy-site
@@ -40,7 +40,7 @@ if [ ! -d "$ORIG/$DATE" ]; then
fi
# Parse server name and port.
-if echo $DEST | grep -v ":"; then
+if echo $DEST | grep -q ":"; then
SERVER="`echo $DEST | cut -d : -f 1`"
PORT="`echo $DEST | cut -d : -f 2`"
else