diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-12 22:18:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 22:18:13 +0200 |
commit | c50c55b93027d9000fa4fd966197402c1422ed3f (patch) | |
tree | 00617ce16080a12b13eb8d4f80affbba32dc4ddb /src | |
parent | 33273bcc224e82b42fa3db06e9fe2168abdc6205 (diff) | |
parent | 3c556eda35a49d7088d4b5b1ff281854cad94bef (diff) | |
download | vyos-1x-c50c55b93027d9000fa4fd966197402c1422ed3f.tar.gz vyos-1x-c50c55b93027d9000fa4fd966197402c1422ed3f.zip |
Merge pull request #3959 from vyos/mergify/bp/circinus/pr-3955
configd: T6640: enforce in_session returns False under configd (backport #3955)
Diffstat (limited to 'src')
-rwxr-xr-x | src/services/vyos-configd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/services/vyos-configd b/src/services/vyos-configd index a4b839a7f..69ee15bf1 100755 --- a/src/services/vyos-configd +++ b/src/services/vyos-configd @@ -267,6 +267,8 @@ if __name__ == '__main__': cfg_group = grp.getgrnam(CFG_GROUP) os.setgid(cfg_group.gr_gid) + os.environ['VYOS_CONFIGD'] = 't' + def sig_handler(signum, frame): shutdown() |