summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xunix/vncserver6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/vncserver b/unix/vncserver
index bb95506d..8f1f4b7c 100755
--- a/unix/vncserver
+++ b/unix/vncserver
@@ -362,9 +362,9 @@ if (! $skipxstartup) {
if (!(-e "$vncUserDir/config")) {
warn "Creating default config $vncUserDir/config\n";
- open(XSTARTUP, ">$vncUserDir/config");
- print XSTARTUP $defaultConfig;
- close(XSTARTUP);
+ open(VNCUSERCONFIG, ">$vncUserDir/config");
+ print VNCUSERCONFIG $defaultConfig;
+ close(VNCUSERCONFIG);
chmod 0644, "$vncUserDir/config";
}