From 55e1329bef2560345a117594222ef38c0a6fd2fc Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 7 Jul 2008 16:13:22 +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 90b2ca7..4d76cd3 100644 --- a/sliver_vs.py +++ b/sliver_vs.py @@ -181,7 +181,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