summaryrefslogtreecommitdiff
path: root/src/char_sql/inter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/inter.c')
-rw-r--r--src/char_sql/inter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c
index 201605bd6..ab03e102b 100644
--- a/src/char_sql/inter.c
+++ b/src/char_sql/inter.c
@@ -356,7 +356,7 @@ int inter_init_sql(const char *file)
{
Sql_ShowDebug(sql_handle);
Sql_Free(sql_handle);
- exit(1);
+ exit(EXIT_FAILURE);
}
#ifndef TXT_SQL_CONVERT
else if (inter_sql_test()) {
@@ -371,7 +371,7 @@ int inter_init_sql(const char *file)
Sql_ShowDebug(lsql_handle);
Sql_Free(lsql_handle);
Sql_Free(sql_handle);
- exit(1);
+ exit(EXIT_FAILURE);
}
else
{
@@ -430,7 +430,7 @@ int inter_sql_test (void)
if( lsql_handle )
Sql_Free(lsql_handle);
Sql_Free(sql_handle);
- exit(1);
+ exit(EXIT_FAILURE);
}
}