aboutsummaryrefslogtreecommitdiff
path: root/libbb/run_parts.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 07:35:12 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 07:35:12 +0000
commitcb44816ba32a3bbf598aab6d7cb1eabfd6619f5f (patch)
tree4459d66dd948b019c4a96730eea224f79520ad8c /libbb/run_parts.c
parentd0ea52ee041ca4d8d00cc5212d54328689b1a3c4 (diff)
downloadbusybox-w32-cb44816ba32a3bbf598aab6d7cb1eabfd6619f5f.tar.gz
busybox-w32-cb44816ba32a3bbf598aab6d7cb1eabfd6619f5f.tar.bz2
busybox-w32-cb44816ba32a3bbf598aab6d7cb1eabfd6619f5f.zip
- add and use bb_opendir(), bb_xopendir().
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
Diffstat (limited to 'libbb/run_parts.c')
-rw-r--r--libbb/run_parts.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libbb/run_parts.c b/libbb/run_parts.c
index 864460d0d..7bdae5b38 100644
--- a/libbb/run_parts.c
+++ b/libbb/run_parts.c
@@ -7,12 +7,7 @@
7 * rewrite to vfork usage by 7 * rewrite to vfork usage by
8 * Copyright (C) 2002 by Vladimir Oleynik <dzo@simtreas.ru> 8 * Copyright (C) 2002 by Vladimir Oleynik <dzo@simtreas.ru>
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 10 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 *
16 */ 11 */
17 12
18 13
@@ -69,7 +64,7 @@ int run_parts(char **args, const unsigned char test_mode, char **env)
69 if (test_mode & 2) { 64 if (test_mode & 2) {
70 return(2); 65 return(2);
71 } 66 }
72 bb_perror_msg_and_die("failed to open directory %s", arg0); 67 bb_perror_msg_and_die("unable to open `%s'", arg0);
73 } 68 }
74 69
75 for (i = 0; i < entries; i++) { 70 for (i = 0; i < entries; i++) {