modprobe-small: fix thinko in previous commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2015-02-13 11:53:33 +01:00
parent 1fd844267c
commit 402afe1cc6

View File

@ -578,7 +578,7 @@ static int already_loaded(const char *name)
}
fclose(fp);
return ret | 1;
return ret & 1;
}
#else
#define already_loaded(name) 0