diff options
author | DRC <dcommander@users.sourceforge.net> | 2009-03-26 18:23:29 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2009-03-26 18:23:29 +0000 |
commit | e5b4f75c856d4bd6b0ff913da958d937ee54004c (patch) | |
tree | fcb819c648ef0be29f50dd4220d45d779b041d1d /unix | |
parent | 9d1c15772a1a52dacd937e830bec185a4c1696ee (diff) | |
download | tigervnc-e5b4f75c856d4bd6b0ff913da958d937ee54004c.tar.gz tigervnc-e5b4f75c856d4bd6b0ff913da958d937ee54004c.zip |
Don't complain if $depth not set
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3727 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/vncserver | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncserver b/unix/vncserver index a9b1b192..8f36d796 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -306,7 +306,7 @@ sub CheckGeometryAndDepth die "$prog: geometry $geometry is invalid\n"; } - if (($depth < 8) || ($depth > 32)) { + if ($depth && (($depth < 8) || ($depth > 32))) { die "Depth must be between 8 and 32\n"; } } |