mirror of
https://github.com/apple/container.git
synced 2026-09-12 02:35:42 +00:00
Add executable name to exec error (#36)
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
This commit is contained in:
@@ -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