diff options
| author | Matt Peterson <ricochet1k@gmail.com> | 2018-08-24 10:47:11 -0400 |
|---|---|---|
| committer | Matt Peterson <ricochet1k@gmail.com> | 2018-08-24 10:50:59 -0400 |
| commit | d0a8426272eeb905ea2ac2aaadaf74b01fb47d48 (patch) | |
| tree | 977de1e8505fc8b09c322fbfc773e6019837688f /src/remote.hh | |
| parent | a91fc83bfe21bb5a70fdb2b0725316fb7c407858 (diff) | |
Use $USER if getpwuid fails
Diffstat (limited to 'src/remote.hh')
| -rw-r--r-- | src/remote.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.hh b/src/remote.hh index 19eb0071..fa04b006 100644 --- a/src/remote.hh +++ b/src/remote.hh @@ -44,7 +44,7 @@ private: }; void send_command(StringView session, StringView command); -String get_user_name(int uid); +String get_user_name(); struct Server : public Singleton<Server> { |
