diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2016-10-03 18:07:57 +0900 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2016-10-03 18:07:57 +0900 |
commit | 977fbde28d7fd6b60dacc035161f949c5cdbd662 (patch) | |
tree | 8a22b0ba4b56742166103bf2bc3ec4b54eab2af5 /unix/vncserver | |
parent | 92c52c37023cac984baffd936bc6d759baa1688d (diff) | |
download | tigervnc-977fbde28d7fd6b60dacc035161f949c5cdbd662.tar.gz tigervnc-977fbde28d7fd6b60dacc035161f949c5cdbd662.zip |
remove trailing space
Diffstat (limited to 'unix/vncserver')
-rwxr-xr-x | unix/vncserver | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/vncserver b/unix/vncserver index 6c29a755..c59106ca 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -47,7 +47,7 @@ $geometry = "1024x768"; $vncJavaFiles = (((-d "$vncClasses") && "$vncClasses") || ((-d "/usr/share/vnc/classes") && "/usr/share/vnc/classes") || ((-d "/usr/local/vnc/classes") && "/usr/local/vnc/classes")); - + $vncUserDir = "$ENV{HOME}/.vnc"; $vncUserConfig = "$vncUserDir/config"; @@ -178,7 +178,7 @@ if (!(-e $vncUserDir)) { die "$prog: Could not create $vncUserDir.\n"; } } - + # Find display number. if ((@ARGV > 0) && ($ARGV[0] =~ /^:(\d+)$/)) { $displayNumber = $1; @@ -329,7 +329,7 @@ system("$cmd & echo \$! >$pidFile"); # Give Xvnc a chance to start up -sleep(3); +sleep(3); if ($fontPath ne $defFontPath) { unless (kill 0, `cat $pidFile`) { if ($fpArgSpecified) { @@ -499,7 +499,7 @@ sub GetDisplayNumber return $n+0; # Bruce Mah's workaround for bug in perl 5.005_02 } } - + die "$prog: no free display number on $host.\n"; } @@ -743,7 +743,7 @@ sub Kill } else { warn "Xvnc process ID $pid already killed\n"; $opt{'-kill'} =~ s/://; - + if (-e "/tmp/.X11-unix/X$opt{'-kill'}") { print "Xvnc did not appear to shut down cleanly."; print " Removing /tmp/.X11-unix/X$opt{'-kill'}\n"; |