Forráskód Böngészése

Improve warning message

The user parameter is not checked so we do not know the user has been
specified.
cypherpunks 8 éve
szülő
commit
759e6f8afb
1 módosított fájl, 1 hozzáadás és 2 törlés
  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)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;
 #endif
 }