From: David Mulder Date: Mon, 14 Nov 2022 16:35:31 +0000 (-0700) Subject: gp: startup scripts list enclude newline in output X-Git-Tag: talloc-2.4.0~547 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04f205d273605b0c09799cc55fc218ce907c827;p=thirdparty%2Fsamba.git gp: startup scripts list enclude newline in output The output for listing startup scripts wasn't clear because there was no newline between entries. Signed-off-by: David Mulder Reviewed-by: Jeremy Allison --- diff --git a/python/samba/netcmd/gpo.py b/python/samba/netcmd/gpo.py index a477d206271..6bc3ddb459d 100644 --- a/python/samba/netcmd/gpo.py +++ b/python/samba/netcmd/gpo.py @@ -3126,7 +3126,7 @@ samba-tool gpo manage scripts startup list {31B2F340-016D-11D2-945F-00C04FB984F9 run_as = run_as.text else: run_as = 'root' - self.outf.write('@reboot %s %s %s' % (run_as, script_path, + self.outf.write('@reboot %s %s %s\n' % (run_as, script_path, parameters.text)) class cmd_add_startup(Command):