mirror of
https://github.com/containers/podman.git
synced 2025-10-16 18:53:19 +08:00
Adjust podman logs error message for clarity
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #441 Approved by: rhatdan
This commit is contained in:
@ -117,7 +117,7 @@ func logsCmd(c *cli.Context) error {
|
||||
// Exit cleanly in this case
|
||||
if _, err := os.Stat(logPath); err != nil {
|
||||
if state == libpod.ContainerStateConfigured {
|
||||
logrus.Debugf("Container has not been created, no logs exist yet")
|
||||
logrus.Debugf("Container has not been started, no logs exist yet")
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user