mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use --no-patch instead (#14047)
This commit is contained in:
@@ -71,7 +71,7 @@ class Version
|
||||
{
|
||||
if ($this->is_git_install) {
|
||||
$install_dir = base_path();
|
||||
$version_process = new Process(['git', 'show', '-q', '--pretty=%H|%ct'], $install_dir);
|
||||
$version_process = new Process(['git', 'show', '--no-patch', '--pretty=%H|%ct'], $install_dir);
|
||||
$version_process->run();
|
||||
|
||||
// failed due to permissions issue
|
||||
|
Reference in New Issue
Block a user