src/main.c
changeset 255 5cd6aa72bbd5
parent 254 ccb1c11968ab
child 259 5b0601d184ed
     1.1 --- a/src/main.c	Fri Jun 20 21:56:43 2008 -0400
     1.2 +++ b/src/main.c	Fri Jun 20 22:26:41 2008 -0400
     1.3 @@ -674,6 +674,9 @@
     1.4  	}
     1.5  
     1.6  	root = razor_root_open(install_root);
     1.7 +	if (root == NULL)
     1.8 +		return 1;
     1.9 +
    1.10  	system = razor_root_get_system_set(root);
    1.11  	upstream = razor_set_open(rawhide_repo_filename);
    1.12  	trans = razor_transaction_create(system, upstream);