CC-3797: Feedback Metrics "Show Me What I Am Sending" doesnt show all of the fields that are being sent
- system info from airtime-check-system now displays in "Show Me What I Am Sending"
This commit is contained in:
parent
c24a8a2308
commit
6add79268f
2 changed files with 7 additions and 3 deletions
|
@ -34,7 +34,7 @@ class AirtimeCheck {
|
|||
{
|
||||
// Need to check that we are superuser before running this.
|
||||
$euid = posix_geteuid();
|
||||
$user = posix_getlogin();
|
||||
$user = exec('whoami');
|
||||
if($euid != 0 && $user != "www-data"){
|
||||
echo "Must be root user.\n";
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue