Explorar el Código

Improve warning message

The user parameter is not checked so we do not know the user has been
specified.
cypherpunks hace 10 años
padre
commit
759e6f8afb
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/common/compat.c

+ 1 - 2
src/common/compat.c

@@ -2207,8 +2207,7 @@ switch_id(const char *user, const unsigned flags)
   (void)user;
   (void)user;
   (void)flags;
   (void)flags;
 
 
-  log_warn(LD_CONFIG,
-           "User specified but switching users is unsupported on your OS.");
+  log_warn(LD_CONFIG, "Switching users is unsupported on your OS.");
   return -1;
   return -1;
 #endif
 #endif
 }
 }