razor-root.c
changeset 235 060d83d8eca9
parent 234 7f5d32472bef
child 236 e4900c8df461
     1.1 --- a/razor-root.c	Mon Jun 09 16:14:05 2008 -0400
     1.2 +++ b/razor-root.c	Mon Jun 09 16:38:58 2008 -0400
     1.3 @@ -53,7 +53,7 @@
     1.4  	set = razor_set_create();
     1.5  	snprintf(path, sizeof path, "%s%s/%s",
     1.6  		 root, razor_root_path, system_repo_filename);
     1.7 -	if (stat(root, &buf) == 0) {
     1.8 +	if (stat(path, &buf) == 0) {
     1.9  		fprintf(stderr,
    1.10  			"a razor install root is already initialized\n");
    1.11  		return -1;