aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-30 17:45:05 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-05-04 23:09:26 +0300
commite59f4da93d617eab8a5c0f85681aed1351011a03 (patch)
tree18868dd08325611d4fc1d92760d0773b230c6736 /src/util.c
parenta487f1ac734d291c0e476199c7dfeb94d90856ac (diff)
downloadeclat-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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 85a7e02..7760ead 100644
--- a/src/util.c
+++ b/src/util.c
@@ -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);

Return to:

Send suggestions and report system problems to the System administrator.