mirror of
https://github.com/troglobit/finit.git
synced 2026-10-29 12:40:44 +00:00
Fix #318: only show "[ OK ] Calling foo" progress for runparts ...
For all other run_parts() use-cases we just give the script control over stdout/stderr to prevent clobbering ANSI color escape codes. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
c84ababbd4
commit
0498326962
5 files changed
+9
-7
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ int run_interactive (char *cmd, char *fmt, ...) __attribute__ ((format (prin
|
||||
int exec_runtask (char *cmd, char *args[]);
|
||||
pid_t run_getty (char *tty, char *cmd, char *args[], int noclear, int nowait, struct rlimit rlimit[]);
|
||||
pid_t run_sh (char *tty, int noclear, int nowait, struct rlimit rlimit[]);
|
||||
int run_parts (char *dir, char *cmd);
|
||||
int run_parts (char *dir, char *cmd, int progress);
|
||||
|
||||
static inline int create(char *path, mode_t mode, uid_t uid, gid_t gid)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user