chiark / gitweb /
job: also trigger on-failure dependencies when jobs faile due to dependencies, timeout
[elogind.git] / src / ask-password-api.c
index 845517a6905d12004bf120ce85657f2bad60822b..f43075e60194e5a563d345f217109198479fb97c 100644 (file)
@@ -132,7 +132,7 @@ int ask_password_tty(
                         r = -errno;
                         goto finish;
                 } else if (k == 0) {
-                        r = -ETIMEDOUT;
+                        r = -ETIME;
                         goto finish;
                 }