diff options
author | Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> | 2014-08-29 12:47:56 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-08 00:40:51 +0200 |
commit | c919296a3085668d5d6134211d82677a57690815 (patch) | |
tree | a0df2da8e63a85437ab4b42dde60f20766744498 | |
parent | efbc0e9af7a442975412813277d4b8ba7d988c60 (diff) | |
download | neardal-c919296a3085668d5d6134211d82677a57690815.tar.gz neardal-c919296a3085668d5d6134211d82677a57690815.tar.bz2 neardal-c919296a3085668d5d6134211d82677a57690815.zip |
Ignore empty strings.
-rw-r--r-- | ncl/ncl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -189,7 +189,8 @@ NCLError ncl_exec(char *cmdName) } exit: if (gerror) { - NCL_CMD_PRINTERR("%s\n", gerror->message); + if (gerror->code != G_SHELL_ERROR_EMPTY_STRING) + NCL_CMD_PRINTERR("%s\n", gerror->message); g_error_free(gerror); } g_strfreev(argv); |