diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-24 09:36:08 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-24 09:36:08 -0200 |
commit | 32d0eedf86b42ea67cacb31540609f058af9de07 (patch) | |
tree | 1ccc35deb2dc32ddb7eeb35871bf926ddb38558b | |
parent | 3da670d25bb6122aef4c894e63fe5a3bd35dcac8 (diff) | |
download | pfsense-32d0eedf86b42ea67cacb31540609f058af9de07.zip pfsense-32d0eedf86b42ea67cacb31540609f058af9de07.tar.gz |
Use _exec() to call gitsync
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 1a60d65..19240cb 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -430,8 +430,9 @@ pkg_upgrade() { # Repository URL is not mandatory if [ -n "${branch}" ]; then - /usr/local/sbin/pfSsh.php playback gitsync \ - ${repositoryurl} ${branch} --upgrading + _exec "/usr/local/sbin/pfSsh.php playback gitsync \ + ${repositoryurl} ${branch} --upgrading" \ + "Running gitsync" mute ignore_result fi fi } |