diff -r 8cbc438cc298 -r 0c8bdd8dc942 src/rpm.c --- a/src/rpm.c Thu Feb 16 17:33:47 2012 +0000 +++ b/src/rpm.c Thu Feb 16 17:44:25 2012 +0000 @@ -1,7 +1,7 @@ /* * Copyright (C) 2008 Kristian Høgsberg * Copyright (C) 2008 Red Hat, Inc - * Copyright (C) 2009, 2011 J. Ali Harlow + * Copyright (C) 2009, 2011, 2012 J. Ali Harlow * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -253,7 +253,13 @@ static void command_initdb(int argc, const char *argv[]) { - razor_root_create(option_root); + struct razor_error *error = NULL; + + if (razor_root_create(option_root, &error)) { + fprintf(stderr, "%s\n", razor_error_get_msg(error)); + razor_error_free(error); + } else + printf("Created install root\n"); } static struct razor_property *