diff options
| -rw-r--r-- | cli_classic.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_classic.c b/cli_classic.c index 9168bc1c..53cd4a0f 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -235,7 +235,7 @@ int cli_classic(int argc, char *argv[])  		case 'i':  			/* FIXME: -l has to be specified before -i. */  			tempstr = strdup(optarg); -			if (find_romentry(tempstr)) { +			if (find_romentry(tempstr) < 0) {  				fprintf(stderr, "Error: image %s not found in "  					"layout file or -i specified before "  					"-l\n", tempstr);  | 
