From 637399aa2f0bf4df790cdb4f2bcc393e1d4a3319 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 7 Jul 2008 16:13:12 +0000 Subject: [PATCH] Use the right variable. --- sliver_vs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sliver_vs.py b/sliver_vs.py index 9e180d1..46b3a12 100644 --- a/sliver_vs.py +++ b/sliver_vs.py @@ -170,7 +170,7 @@ class Sliver_VS(accounts.Account, vserver.VServer): def install_initscript(): flags = os.O_WRONLY | os.O_CREAT | os.O_TRUNC fd = os.open('/etc/rc.vinit', flags, 0755) - os.write(fd, new_initscript) + os.write(fd, self.initscript) os.close(fd) try: self.chroot_call(install_initscript) -- 2.43.0