Fix syntax error in post-up hook