diff options
| author | Mattias Andrée <m@maandree.se> | 2025-12-19 20:41:05 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2025-12-19 20:41:05 +0100 |
| commit | 8aa5b95f0c287053a5aeda84980009c913d6eebc (patch) | |
| tree | a669879a5f1d7b6e6f79d7addbe3e19b37bb4fc5 | |
| parent | Add gasroot to see also (diff) | |
| download | asroot-8aa5b95f0c287053a5aeda84980009c913d6eebc.tar.gz asroot-8aa5b95f0c287053a5aeda84980009c913d6eebc.tar.bz2 asroot-8aa5b95f0c287053a5aeda84980009c913d6eebc.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | asroot.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ check_password(void) hostname = realloc(hostname, size *= 2); if (!hostname) { fprintf(stderr, "%s: realloc %zu: %s\n", argv0, size, strerror(errno)); + exit(EXIT_ERROR); } *hostname = 0; if (!gethostname(hostname, size)) { |
