Function commit_in_progress works incorrect
Simple test:
[email protected]:~$ cat test.py #!/usr/bin/env python3 from vyos.util import commit_in_progress if commit_in_progress: print('COMMIT IN PROGRESS') else: print('NO COMMITS') [email protected]:~$ [email protected]:~$ [email protected]:~$ [email protected]:~$ sudo ./test.py COMMIT IN PROGRESS [email protected]:~$
But there is no commit:
[email protected]:~$ ps ax | grep commit | egrep -v grep [email protected]:~$