diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-08-08 15:32:00 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-11 17:48:03 +0300 |
commit | 94f7bedc4d1a428ef450d137ee5580324788e4a9 (patch) | |
tree | 1ddaa1672feef29c7a09ecd53f4807d47f0ec73c | |
parent | f06cdf9f3bfc38a2b2b8b77327d547f34ceeec26 (diff) | |
download | librpm-tizen-94f7bedc4d1a428ef450d137ee5580324788e4a9.tar.gz librpm-tizen-94f7bedc4d1a428ef450d137ee5580324788e4a9.tar.bz2 librpm-tizen-94f7bedc4d1a428ef450d137ee5580324788e4a9.zip |
Bump the log level of "unexpanded script" msg
Change-Id: Iec8ff9da9c866fd47f3352964a5aac1bd6148310
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | rpmio/macro.c | 2 | ||||
-rw-r--r-- | rpmio/rpmlua.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index aeedb4725..0876ea88e 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -472,7 +472,7 @@ doShellEscape(MacroBuf mb, const char * cmd, size_t clen) int rc = 0; int c; - rpmlog(RPMLOG_INFO, _("Refusing to run shell code: %s\n"), cmd); + rpmlog(RPMLOG_WARNING, _("Refusing to run shell code: %s\n"), cmd); mbAppendStr(mb, "UNEXPANDEDSHELLSCRIPT"); #if 0 rc = expandThis(mb, cmd, clen, &buf); diff --git a/rpmio/rpmlua.c b/rpmio/rpmlua.c index ec41b0227..49ae7a0aa 100644 --- a/rpmio/rpmlua.c +++ b/rpmio/rpmlua.c @@ -517,7 +517,7 @@ int rpmluaRunScript(rpmlua _lua, const char *script, const char *name) lua_State *L = lua->L; int ret = 0; #define LUA_OUTPUT "UNEXPANDEDLUASCRIPT" - rpmlog(RPMLOG_INFO, _("Refusing to run lua code: %s\n"), script); + rpmlog(RPMLOG_WARNING, _("Refusing to run lua code: %s\n"), script); lua->printbuf->buf = xcalloc(1, sizeof(LUA_OUTPUT)); strcpy(lua->printbuf->buf, LUA_OUTPUT); #if 0 |