summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@samba.org>2022-11-14 09:35:31 -0700
committerJeremy Allison <jra@samba.org>2022-11-15 01:08:38 +0000
commitf04f205d273605b0c09799cc55fc218ce907c827 (patch)
treece3ea0f9b64fe068972259de7b60675828848a88 /python
parent3bee89c1cfa53f76728a54536f9d33e134b952c1 (diff)
downloadsamba-f04f205d273605b0c09799cc55fc218ce907c827.tar.gz
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 <dmulder@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/netcmd/gpo.py2
1 files changed, 1 insertions, 1 deletions
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):