diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-30 17:45:05 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-04 23:09:26 +0300 |
commit | e59f4da93d617eab8a5c0f85681aed1351011a03 (patch) | |
tree | 18868dd08325611d4fc1d92760d0773b230c6736 /src/util.c | |
parent | a487f1ac734d291c0e476199c7dfeb94d90856ac (diff) | |
download | eclat-e59f4da93d617eab8a5c0f85681aed1351011a03.tar.gz eclat-e59f4da93d617eab8a5c0f85681aed1351011a03.tar.bz2 |
Bugfixes.
* src/cmdline.opt: Add closing double-quote in the -D
preprocessor option.
* src/util.c (translate_ids): Do not bail out if the map
is not defined.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -41,8 +41,11 @@ translate_ids(int argc, char **argv, const char *mapname) die(EX_USAGE, "bad qualifier: %s", q); map = eclat_map_lookup(realname); - if (!map) - die(EX_UNAVAILABLE, "no such map: %s", realname); + if (!map) { + debug(ECLAT_DEBCAT_MAIN, 1, + ("no such map: %s", realname)); + return; + } if (eclat_map_open(map) != eclat_map_ok) die(EX_UNAVAILABLE, "failed to open map %s", realname); |