diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 20:28:30 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 21:25:09 -0400 |
commit | 92dfd88bc919e30d5b0c1c761ed87a63fcf94e79 (patch) | |
tree | f4bcbd71bb8f1d2e1c3b7e0fa5859372253eb5ce /src/import/pull.c | |
parent | d710aaf7a5d74afb3135f2f79080bd4715790c59 (diff) | |
download | systemd-92dfd88bc919e30d5b0c1c761ed87a63fcf94e79.tar.gz |
import: don't log "fake" errno values
Diffstat (limited to 'src/import/pull.c')
-rw-r--r-- | src/import/pull.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/pull.c b/src/import/pull.c index 72604a6a74..53b1211965 100644 --- a/src/import/pull.c +++ b/src/import/pull.c @@ -97,7 +97,7 @@ static int pull_tar(int argc, char *argv[], void *userdata) { if (r < 0) return log_error_errno(r, "Failed to check whether image '%s' exists: %m", local); else if (r > 0) { - log_error_errno(EEXIST, "Image '%s' already exists.", local); + log_error("Image '%s' already exists.", local); return -EEXIST; } } @@ -183,7 +183,7 @@ static int pull_raw(int argc, char *argv[], void *userdata) { if (r < 0) return log_error_errno(r, "Failed to check whether image '%s' exists: %m", local); else if (r > 0) { - log_error_errno(EEXIST, "Image '%s' already exists.", local); + log_error("Image '%s' already exists.", local); return -EEXIST; } } |