Browse Source

Added --login to bash command

pull/24/head
Teknikode 8 years ago
parent
commit
d399d18eb4
  1. 3
      includes/update_profile.php

3
includes/update_profile.php

@ -163,7 +163,8 @@ if(isset($_POST)) @@ -163,7 +163,8 @@ if(isset($_POST))
$index++;
}
}
echo shell_exec('bash -c "gitolite trigger SSH_AUTHKEYS"');
$result = shell_exec('bash --login -c "gitolite trigger SSH_AUTHKEYS"');
print($result);
}
/*

Loading…
Cancel
Save