diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/wait-online/wait-online.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/wait-online/wait-online.c b/src/network/wait-online/wait-online.c index c65b885d2c..a60f384624 100644 --- a/src/network/wait-online/wait-online.c +++ b/src/network/wait-online/wait-online.c @@ -223,6 +223,8 @@ static int run(int argc, char *argv[]) { "STATUS=Failed to wait for network connectivity..."); r = sd_event_loop(m->event); + if (r == -ETIMEDOUT) + return log_error_errno(r, "Timeout occured while waiting for network connectivity."); if (r < 0) return log_error_errno(r, "Event loop failed: %m"); |