Add output of id command to poostpush log.

This commit is contained in:
David Brown 2016-11-18 14:17:08 +00:00
parent fd744350ed
commit 66105ee5ae

View file

@ -17,6 +17,7 @@ sub writelog {
flock(LOG, 2) or die "Could not lock postpush.log";
print LOG sprintf("%s %s\n", strftime("%Y/%m/%d %H.%M.%S", localtime), $msg);
close(LOG);
system "id >> /tmp/postpush.log";
}
my $postdata = from_json(param('POSTDATA'));