mirror of
https://github.com/apple/container.git
synced 2026-11-15 10:20:00 +00:00
Add executable name to exec error (#36)
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
This commit is contained in:
1 parent
9c1b08d3e7
commit
0bd526053c
1 file changed
+1
-1
@@ -85,7 +85,7 @@ extension App {
|
||||
}
|
||||
|
||||
guard execvpe(executable, argv, env) != -1 else {
|
||||
throw App.Errno(stage: "execvpe(\(String(describing: executable)))", info: "Failed to exec [\(process.args[1...].joined(separator: " "))]")
|
||||
throw App.Errno(stage: "execvpe(\(String(describing: executable)))", info: "Failed to exec [\(process.args.joined(separator: " "))]")
|
||||
}
|
||||
fatalError("execvpe failed")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user