这是indexloc提供的服务,不要输入任何密码
Skip to content

Command output empty string #461

@sophieyfang

Description

@sophieyfang
Feb 22 01:28:22 test-20230222-9e838-b843cf17-ad12-4d9f-a388-bff46ab6134d OSConfigAgent[1361]: 2023-02-22T01:28:22.8518Z OSConfigAgent Debug: Running "/usr/bin/zypper" with args ["--gpg-auto-import-keys" "--non-interactive" "install" "--auto-agree-with-licenses" "google-cloud-ops-agent"]
Feb 22 01:28:22 test-20230222-9e838-b843cf17-ad12-4d9f-a388-bff46ab6134d OSConfigAgent[1361]: 2023-02-22T01:28:22.8987Z OSConfigAgent Debug: /usr/bin/zypper ["--gpg-auto-import-keys" "--non-interactive" "install" "--auto-agree-with-licenses" "google-cloud-ops-agent"] exit code: 7, output:

"%s %q exit code: %d, output:\n%s", cmd.Path, cmd.Args[1:], cmd.ProcessState.ExitCode(), strings.ReplaceAll(stdout.String(), "\n", "\n "))

Shall the output also print stderr at this line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions