From: Koichiro IWAO Date: Mon, 3 Oct 2016 09:07:57 +0000 (+0900) Subject: remove trailing space X-Git-Tag: v1.7.90~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=977fbde28d7fd6b60dacc035161f949c5cdbd662;p=tigervnc.git remove trailing space --- 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";