after-backup was run with the wrong environment

This commit is contained in:
Joshua Tauberer 2015-08-09 20:01:12 +00:00
parent 99e51f8a52
commit cdd3a64638
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ def perform_backup(full_backup):
if os.path.exists(post_script):
shell('check_call',
['su', env['STORAGE_USER'], '-c', post_script, config["target"]],
env=get_env(env))
env=env)
# Our nightly cron job executes system status checks immediately after this
# backup. Since it checks that dovecot and postfix are running, block for a