gp: gp_sudoers_ext warn w/out visudo installed
commit5b7fc5b696cc64c8a612d1a59eb3baa9d59e63c4
authorDavid Mulder <dmulder@samba.org>
Thu, 9 Feb 2023 17:43:42 +0000 (9 10:43 -0700)
committerDavid Mulder <dmulder@samba.org>
Fri, 10 Feb 2023 20:31:37 +0000 (10 20:31 +0000)
tree0fde99c692420f5b94a757e82b97912e70572120
parentff98ddf0f9286db545419bb52947ebf5c021885f
gp: gp_sudoers_ext warn w/out visudo installed

Rather than print an ugly error message from
Popen, display a warning to the user if visudo
is missing.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Fri Feb 10 20:31:37 UTC 2023 on atb-devel-224
python/samba/gp/gp_sudoers_ext.py