aboutsummaryrefslogtreecommitdiff
path: root/src/env-update.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-25 17:19:02 +0000
committerRoy Marples <roy@marples.name>2007-09-25 17:19:02 +0000
commit1a6451654fe365c1981b18f35cb6e453166d1b32 (patch)
tree35f036a9e6eba2322267b23688495a9f2390ada8 /src/env-update.c
parentb24e87794849f38611f0b9644c1e30222d8369a6 (diff)
We no longer use bool in our public headers, using int instead.
Diffstat (limited to 'src/env-update.c')
-rw-r--r--src/env-update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env-update.c b/src/env-update.c
index c9739a78..254a0348 100644
--- a/src/env-update.c
+++ b/src/env-update.c
@@ -134,7 +134,7 @@ int env_update (int argc, char **argv)
char **entries = NULL;
j = strlen (file);
- if (! rc_is_dir (path) &&
+ if (rc_is_dir (path) != 0 &&
j > 2 &&
*file >= '0' &&
*file <= '9' &&
@@ -297,7 +297,7 @@ int env_update (int argc, char **argv)
if (ldconfig) {
/* Update ld.so.conf only if different */
- if (rc_exists (LDSOCONF)) {
+ if (rc_exists (LDSOCONF) == 0) {
char **lines = rc_get_list (LDSOCONF);
char *line;
ld = false;