mirror of https://github.com/sipwise/ngcpcfg.git
Verify that the user is operating on branch master, otherwise the result might be unexpected. If branch master is checked out: | root@spce:/etc/ngcp-config# ngcpcfg check | root@spce:/etc/ngcp-config# ngcpcfg status | [...] | 2016-02-23 05:48:32: Checking currently active branch: | 2016-02-23 05:48:32: OK: branch master active If a branch other than 'master' is checked out: | root@spce:/etc/ngcp-config# ngcpcfg check | 2016-02-23 05:47:42: Error: branch 'mika' in '/etc/ngcp-config' active - please switch to branch 'master' before continuing. | root@spce:/etc/ngcp-config# echo $? | 1 | root@spce:/etc/ngcp-config# ngcpcfg status | [...] | 2016-02-23 05:47:47: Checking currently active branch: | 2016-02-23 05:47:47: ACTION_NEEDED: branch 'mika' active - please switch to branch 'master' | [...] Change-Id: I5df92075905cafa3b714211581c8cfe749df04bachanges/80/4780/2
parent
de844084ae
commit
4fd512261b
Loading…
Reference in new issue