Blame SOURCES/tigervnc-let-user-know-about-not-using-view-only-password.patch

55ccb6
diff --git a/unix/vncpasswd/vncpasswd.cxx b/unix/vncpasswd/vncpasswd.cxx
55ccb6
index 16c925ee..6398121e 100644
55ccb6
--- a/unix/vncpasswd/vncpasswd.cxx
55ccb6
+++ b/unix/vncpasswd/vncpasswd.cxx
55ccb6
@@ -150,6 +150,8 @@ int main(int argc, char** argv)
55ccb6
     char yesno[3];
55ccb6
     if (fgets(yesno, 3, stdin) != NULL && (yesno[0] == 'y' || yesno[0] == 'Y')) {
55ccb6
       obfuscatedReadOnly = readpassword();
55ccb6
+    } else {
55ccb6
+      fprintf(stderr, "A view-only password is not used\n");
55ccb6
     }
55ccb6
55ccb6
     FILE* fp = fopen(fname,"w");