summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-05-28 19:05:52 -0700
committerDan Nicholson <dbn.lists@gmail.com>2008-05-28 19:05:52 -0700
commit20e1c19f9223e2a43e1399009adfa4a39f78e7b6 (patch)
treeba5d53bbe7cbc9a10fc93972740547ef55d9fe93
parent60e5cb09b3f38afc768fbd646f2cb58c33defaf9 (diff)
verify_level: Don't set changed bits to active
There's no sane way to set the changed bits to active without destroying valid deactived levels in some cases. Instead, we just have to rely on the fact that they'll be correct already.
-rw-r--r--lib/rdep.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rdep.c b/lib/rdep.c
index 012d718..baedf97 100644
--- a/lib/rdep.c
+++ b/lib/rdep.c
@@ -392,7 +392,6 @@ static bool initd_list_verify_level(const initd_list_t *ord,
char *dstr;
int n;
bool match;
- initd_key_t ckey;
if (!ord)
return false;
@@ -485,11 +484,6 @@ static bool initd_list_verify_level(const initd_list_t *ord,
}
}
- /* Mark the changed field as active for each script at this level */
- ckey = (sk == SK_START) ? KEY_CSTART : KEY_CSTOP;
- for (ip = ord->first; ip; ip = ip->next)
- initd_set_rc(ip, ckey, rc);
-
/* If we get here, then we were successful */
return true;
}