|
@@ -698,7 +698,9 @@ printf("out: %s\n", out);
|
|
|
|
|
|
|
|
binname = getfullbinname(argv[0]);
|
|
binname = getfullbinname(argv[0]);
|
|
|
|
|
|
|
|
- check_sum(binname, argc >= 3 && !strcmp(argv[1], "-p") ? argv[2] : NULL);
|
|
|
|
|
|
|
+ /* This allows -2/-0 to be used without an initialized binary */
|
|
|
|
|
+ if (!(argc == 2 && (!strcmp(argv[1], "-2") || !strcmp(argv[1], "0"))))
|
|
|
|
|
+ check_sum(binname, argc >= 3 && !strcmp(argv[1], "-p") ? argv[2] : NULL);
|
|
|
/* Now settings struct is filled */
|
|
/* Now settings struct is filled */
|
|
|
|
|
|
|
|
if (!checked_bin_buf)
|
|
if (!checked_bin_buf)
|