aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
Diffstat (limited to 'runit')
-rw-r--r--runit/runsv.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 02271d68b..02dcf50ca 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -157,16 +157,6 @@ static int open_trunc_or_warn(const char *name)
157 return fd; 157 return fd;
158} 158}
159 159
160static int rename_or_warn(const char *old, const char *new)
161{
162 if (rename(old, new) == -1) {
163 bb_perror_msg("%s: warning: cannot rename %s to %s",
164 dir, old, new);
165 return -1;
166 }
167 return 0;
168}
169
170static void update_status(struct svdir *s) 160static void update_status(struct svdir *s)
171{ 161{
172 ssize_t sz; 162 ssize_t sz;