summaryrefslogtreecommitdiff
path: root/Userland/Services/SystemServer/Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/SystemServer/Service.cpp')
-rw-r--r--Userland/Services/SystemServer/Service.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Services/SystemServer/Service.cpp b/Userland/Services/SystemServer/Service.cpp
index b3cb8fd8ed..cc712ecf29 100644
--- a/Userland/Services/SystemServer/Service.cpp
+++ b/Userland/Services/SystemServer/Service.cpp
@@ -234,7 +234,8 @@ void Service::spawn(int socket_fd)
argv[m_extra_arguments.size() + 1] = nullptr;
rc = execv(argv[0], argv);
- perror("exec");
+ warnln("Failed to execv({}, ...): {}", argv[0], strerror(errno));
+ dbgln("Failed to execv({}, ...): {}", argv[0], strerror(errno));
VERIFY_NOT_REACHED();
} else if (!m_multi_instance) {
// We are the parent.