correct --set-hfs

This commit is contained in:
Laurent Vivier 2005-12-12 07:59:06 +00:00
parent 88c144ac11
commit a90a4c3e23

View File

@ -606,7 +606,7 @@ int main(int argc, char **argv)
if ((action & ACTION_TEST) == 0)
return 6;
}
if ( (ret == 0) && (action & ACTION_SET_HFS) )
if ( (ret == 0) && !(action & ACTION_SET_HFS) )
{
fprintf(stderr,
"ERROR: to be bootable a partition must be of type Apple_HFS\n");