mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 16:52:25 +00:00
Add output of id command to poostpush log.
This commit is contained in:
parent
fd744350ed
commit
66105ee5ae
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ sub writelog {
|
||||||
flock(LOG, 2) or die "Could not lock postpush.log";
|
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);
|
print LOG sprintf("%s %s\n", strftime("%Y/%m/%d %H.%M.%S", localtime), $msg);
|
||||||
close(LOG);
|
close(LOG);
|
||||||
|
system "id >> /tmp/postpush.log";
|
||||||
}
|
}
|
||||||
|
|
||||||
my $postdata = from_json(param('POSTDATA'));
|
my $postdata = from_json(param('POSTDATA'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue