diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-19 09:54:36 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-19 09:54:36 -0200 |
commit | 9af0b6d75efe752b6089a629e5b00fb86a82bdf5 (patch) | |
tree | a27a6226b7a03e06c38616891d0acc56fbfe35b1 | |
parent | a14399b52c839be27836bed8ccd7f1ec942c18e8 (diff) | |
download | hydra-9af0b6d75efe752b6089a629e5b00fb86a82bdf5.tar.gz hydra-9af0b6d75efe752b6089a629e5b00fb86a82bdf5.tar.bz2 |
Oops
-rwxr-xr-x | share/hydractl/backup-copy-site | 2 |
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 |