pkg_alternatives: use ERROR level for symlink failure
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 3 May 2017 09:08:10 +0000 (17:08 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Wed, 3 May 2017 09:08:10 +0000 (17:08 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
libopkg/pkg_alternatives.c

index 66b64de453c15d5d522619bb6974522ecae064d8..890b510669374350f288d5e58c42a0f4102adea4 100644 (file)
@@ -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;