From 634fe3ef8462026301862748f396b95d38d54d4f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Mar 2014 00:24:28 -0300 Subject: Fix backup-copy-sites --- share/hydractl/backup-copy-sites | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/hydractl/backup-copy-sites b/share/hydractl/backup-copy-sites index aebfcaf..c6c9a1f 100755 --- a/share/hydractl/backup-copy-sites +++ b/share/hydractl/backup-copy-sites @@ -16,11 +16,15 @@ # License along with this program. If not, see # . +# Load. +source $APP_BASE/lib/hydra/functions || exit 1 +hydra_config_load + # Basic parameters. SERVER="$1" # Syntax check. -if [ -z "$SITE" ]; then +if [ -z "$SERVER" ]; then hydra_action_usage exit 1 fi -- cgit v1.2.3