diff options
Diffstat (limited to 'share/hydractl')
-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 |