diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 00:24:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 00:24:28 -0300 |
commit | 634fe3ef8462026301862748f396b95d38d54d4f (patch) | |
tree | 57d56e147f40929b6a02825afdfb275024f46458 | |
parent | a42c14787d3e6e75219df712a10c7f320fdf8927 (diff) | |
download | hydra-634fe3ef8462026301862748f396b95d38d54d4f.tar.gz hydra-634fe3ef8462026301862748f396b95d38d54d4f.tar.bz2 |
Fix backup-copy-sites
-rwxr-xr-x | share/hydractl/backup-copy-sites | 6 |
1 files changed, 5 insertions, 1 deletions
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 # <http://www.gnu.org/licenses/>. +# 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 |