Skip to content

Commit

Permalink
rc: drop ifdef for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh committed Jul 25, 2024
1 parent 2fc625b commit 28c100c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/openrc/rc.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ handle_signal(int sig)
static void
do_early_hostname(void)
{
#ifdef __linux__
/* Set hostname if available */
char *buffer = NULL;
size_t len;
Expand All @@ -489,7 +488,6 @@ do_early_hostname(void)
}
free(buffer);
}
#endif
}

static void
Expand Down

0 comments on commit 28c100c

Please sign in to comment.