Skip to content

Commit

Permalink
Fix typos in user-util.c and dbus-unit.c
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli authored and bluca committed Mar 29, 2022
1 parent b586cbd commit 0017be9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/basic/user-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ int get_user_creds(
else if (FLAGS_SET(flags, USER_CREDS_ALLOW_MISSING) && !gid && !home && !shell) {

/* If the specified user is a numeric UID and it isn't in the user database, and the caller
* passed USER_CREDS_ALLOW_MISSING and was only interested in the UID, then juts return that
* passed USER_CREDS_ALLOW_MISSING and was only interested in the UID, then just return that
* and don't complain. */

if (uid)
Expand Down
2 changes: 1 addition & 1 deletion src/core/dbus-unit.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ int bus_unit_method_clean(sd_bus_message *message, void *userdata, sd_bus_error

r = unit_clean(u, mask);
if (r == -EOPNOTSUPP)
return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Unit '%s' does not supporting cleaning.", u->id);
return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Unit '%s' does not support cleaning.", u->id);
if (r == -EUNATCH)
return sd_bus_error_set(error, BUS_ERROR_NOTHING_TO_CLEAN, "No matching resources found.");
if (r == -EBUSY)
Expand Down

0 comments on commit 0017be9

Please sign in to comment.