aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ttu/widget-authen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ttu/widget-authen.c')
-rw-r--r--src/ttu/widget-authen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ttu/widget-authen.c b/src/ttu/widget-authen.c
index 210fc83..0c722f9 100644
--- a/src/ttu/widget-authen.c
+++ b/src/ttu/widget-authen.c
@@ -102,6 +102,14 @@ ttu_widget_authen(
102 // initial processing of cli arguments 102 // initial processing of cli arguments
103 if ((rc = ttu_cli_arguments(cnf, cnf->argc, cnf->argv)) != 0) 103 if ((rc = ttu_cli_arguments(cnf, cnf->argc, cnf->argv)) != 0)
104 return((rc == -1) ? 0 : 1); 104 return((rc == -1) ? 0 : 1);
105 if ((ttu_password(cnf)))
106 return(1);
107 if (!(cnf->pass))
108 {
109 fprintf(stderr, "%s: missing required argument -W, -w, or -y\n", cnf->prog_name);
110 fprintf(stderr, "Try `%s --help' for more information.\n", cnf->prog_name);
111 return(1);
112 };
105 113
106 return(0); 114 return(0);
107} 115}