diff options
-rw-r--r-- | src/user.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -6,13 +6,5 @@ const char *display_user_name() { } const char *display_user_host() { -#if defined(__OpenBSD__) - return run_command_s("cat /etc/myname"); -#elif defined(__NetBSD__) return run_command_s("hostname"); -#elif defined(__FreeBSD__) - return run_command_s("sysctl -n kern.hostname"); -#else - return run_command_s("cat /etc/hostname"); -#endif } |