Commit 2eb0909206

alex <alex@cloudware.io>
2022-10-02 12:01:23
std.ChildProcess: correct fn getUserInfo pkg in setUserName
17b0166e moved getUserInfo from std.os to std.process but ChildProcess.setUserName never updated the pkg name.
1 parent 91b05ad
Changed files (1)
lib/std/child_process.zig
@@ -122,7 +122,7 @@ pub const ChildProcess = struct {
     }
 
     pub fn setUserName(self: *ChildProcess, name: []const u8) !void {
-        const user_info = try os.getUserInfo(name);
+        const user_info = try std.process.getUserInfo(name);
         self.uid = user_info.uid;
         self.gid = user_info.gid;
     }