summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYousong Zhou2017-05-03 09:08:10 +0000
committerYousong Zhou2017-05-03 09:08:10 +0000
commit04e279eb1c0e37e324d955969780cfec272442b9 (patch)
tree5b24f43d8b8d57fb0081b85c358470838e2c307d
parent546bc72356c7a6b435540852b10625b7531f2117 (diff)
downloadopkg-lede-04e279eb1c0e37e324d955969780cfec272442b9.tar.gz
pkg_alternatives: use ERROR level for symlink failure
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--libopkg/pkg_alternatives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/pkg_alternatives.c b/libopkg/pkg_alternatives.c
index 66b64de..890b510 100644
--- a/libopkg/pkg_alternatives.c
+++ b/libopkg/pkg_alternatives.c
@@ -78,7 +78,7 @@ static int pkg_alternatives_update_path(pkg_t *pkg, const pkg_vec_t *installed,
}
r = symlink(the_alt->altpath, path_in_dest);
if (r)
- opkg_msg(INFO, "failed symlinking %s -> %s\n", path_in_dest, the_alt->altpath);
+ opkg_msg(ERROR, "failed symlinking %s -> %s\n", path_in_dest, the_alt->altpath);
} else {
unlink(path_in_dest);
r = 0;