raster pushed a commit to branch enlightenment-0.24.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8a641727dafa866e181024bc8b9179f1be14227c

commit 8a641727dafa866e181024bc8b9179f1be14227c
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon May 25 12:38:36 2020 +0100

    e auth - fix missing stderr output logs i missed last commit
---
 src/bin/e_ckpasswd_main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_ckpasswd_main.c b/src/bin/e_ckpasswd_main.c
index 3d27ac6af..08de4bc3d 100644
--- a/src/bin/e_ckpasswd_main.c
+++ b/src/bin/e_ckpasswd_main.c
@@ -293,14 +293,14 @@ main(int argc, char **argv)
              rd = read(0, pw + pos, 1);
              if (rd < 0)
                {
-                  fprintf(stderr, "AUTH: Error. Can't read polkit cookie on 
stdin\n");
+                  fprintf(stderr, "AUTH: POLKIT: Error. Can't read polkit 
cookie on stdin\n");
                   goto err;
                }
              if (pw[pos] == ' ')
                {
                   memcpy(polkit_cookie, pw, pos);
                   polkit_cookie[pos] = 0;
-                  printf("COOKIE: [%s]\n", polkit_cookie);
+                  fprintf(stderr, "AUTH: POLKIT: [%s]\n", polkit_cookie);
                   pos = 0;
                   break;
                }
@@ -309,7 +309,7 @@ main(int argc, char **argv)
                   pos++;
                   if (pos > 4000)
                     {
-                       fprintf(stderr, "AUTH: Error. Polkit cookie too 
long\n");
+                       fprintf(stderr, "AUTH: POLKIT: Error. Polkit cookie too 
long\n");
                        return -10;
                     }
                }
@@ -326,7 +326,7 @@ main(int argc, char **argv)
                {
                   pw[pos] = 0;
                   polkit_uid = atoi(pw);
-                  printf("AUTH: UID: [%u]\n", polkit_uid);
+                  fprintf(stderr, "AUTH: UID: [%u]\n", polkit_uid);
                   break;
                }
              else

-- 


Reply via email to