Package: tigervnc-standalone-server
Version: 1.7.0+dfsg-1
Severity: important
File: /usr/bin/tigervncserver
Tags: patch

By the way it renders program unusable for me, but I am scared of grave bugs. 
:-)

--- tigervncserver.old  2017-01-03 16:43:05.306773373 +0100
+++ tigervncserver      2017-01-03 16:43:20.522690264 +0100
@@ -121,12 +121,13 @@
     exit 1;
   }
   # These commands are from the tigervnc-common package which is optional.
+cmd2:
   foreach my $cmd ("tigervncpasswd") {
     foreach my $dir ($binbase, split(/:/,$ENV{PATH})) {
       my $fqcmd = File::Spec->catfile($dir, $cmd);
       if (-x $fqcmd) {
         $CMDS{$cmd} = $fqcmd;
-       next cmd;
+       next cmd2;
       }
     }
   }

Reply via email to