summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackup.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/backup.in b/backup.in
index 5ccb617..455585b 100755
--- a/backup.in
+++ b/backup.in
@@ -64,7 +64,10 @@ else
usage
fi
-ping -c1 ${QuellIP} > /dev/null || exit 11
+if [ -n "${QuellIP}" ]
+then
+ ping -c1 ${QuellIP} > /dev/null || exit 11
+fi
if [ -n "${HoppIP}" ]
then
ping -c1 ${HoppIP} > /dev/null || exit 11