From 8a79171753844b9fcd303f0e8723a388d1892df7 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Mon, 18 Mar 2019 12:20:54 +0000 Subject: [PATCH] Corrected variable name --- githook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githook.php b/githook.php index e189f82..7fbb07d 100644 --- a/githook.php +++ b/githook.php @@ -25,7 +25,7 @@ syslog(LOG_INFO, 'Ansible Webhook recieved.'); if ( time () - filemtime ( $lastrun ) > 300 ) { - touch ( $dopfile ); + touch ( $dropfile ); touch ( $lastrun ); echo "HTTP 200 - Ansible webhook recieved."; }