diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-22 22:29:00 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-22 22:34:20 +0200 |
commit | 5df2a4a6e0b3e8574e067d0252b954a5e002e751 (patch) | |
tree | 34b95ab240ea54a1bdf0d3c4ae453cfc0277e38d /src/portable/portablectl.c | |
parent | man: make bootup charts narrower (diff) | |
download | systemd-5df2a4a6e0b3e8574e067d0252b954a5e002e751.tar.xz systemd-5df2a4a6e0b3e8574e067d0252b954a5e002e751.zip |
Use a common define for the reload timeout
Diffstat (limited to 'src/portable/portablectl.c')
-rw-r--r-- | src/portable/portablectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index 0fc3a64d71..4005a5c796 100644 --- a/src/portable/portablectl.c +++ b/src/portable/portablectl.c @@ -249,7 +249,7 @@ static int maybe_reload(sd_bus **bus) { return bus_log_create_error(r); /* Reloading the daemon may take long, hence set a longer timeout here */ - r = sd_bus_call(*bus, m, DEFAULT_TIMEOUT_USEC * 2, &error, NULL); + r = sd_bus_call(*bus, m, DAEMON_RELOAD_TIMEOUT_SEC, &error, NULL); if (r < 0) return log_error_errno(r, "Failed to reload daemon: %s", bus_error_message(&error, r)); |