aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncserver
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncserver')
-rwxr-xr-xunix/vncserver2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncserver b/unix/vncserver
index 6ec58668..d56f5e26 100755
--- a/unix/vncserver
+++ b/unix/vncserver
@@ -176,7 +176,7 @@ if ((@ARGV > 0) && ($ARGV[0] =~ /^:(\d+)$/)) {
if (!&CheckDisplayNumber($displayNumber)) {
die "A VNC server is already running as :$displayNumber\n";
}
-} elsif ((@ARGV > 0) && ($ARGV[0] !~ /^-/)) {
+} elsif ((@ARGV > 0) && ($ARGV[0] !~ /^-/) && ($ARGV[0] !~ /^\+/)) {
&Usage();
} else {
$displayNumber = &GetDisplayNumber();