summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index c2087e1..65ac047 100644
--- a/utils.c
+++ b/utils.c
@@ -11,7 +11,7 @@ int checkIfFileExists(char *path)
int detectOsType()
{
int exists = ERROR;
- for ( int i = 0; i < ENUMSIZE || exists == ERROR; i++ )
+ for ( int i = 0; i < ENUMSIZE && exists == ERROR; i++ )
{
switch (i)
{