diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b27d9e6..216fccbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Ensure consistent construction of libraries for CDI spec generation. * Ensure that `nvidia-ctk cdi transform` creates specs with world-readable permissions. * Remove provenance information from published images. +* Fix bug in processing of `--log=` argument of `nvidia-container-runtime`. ## v1.15.0 diff --git a/internal/runtime/logger.go b/internal/runtime/logger.go index 1b950026..adb786ec 100644 --- a/internal/runtime/logger.go +++ b/internal/runtime/logger.go @@ -238,7 +238,7 @@ func parseArgs(args []string) loggerConfig { var value string switch { case len(parts) == 2: - value = parts[2] + value = parts[1] case i+1 < len(args): value = args[i+1] i++