From 9af0b6d75efe752b6089a629e5b00fb86a82bdf5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 19 Jan 2012 09:54:36 -0200 Subject: Oops --- share/hydractl/backup-copy-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hydractl/backup-copy-site') 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 -- cgit v1.2.3