Removed bb +execute:
as it was not used.
This commit is contained in:
parent
a97ea1d19b
commit
7bdced0f1c
6
bb.c
6
bb.c
@ -619,12 +619,6 @@ void run_bbcmd(bb_t *bb, const char *cmd)
|
|||||||
set_bool(bb->show_dotfiles);
|
set_bool(bb->show_dotfiles);
|
||||||
setenv("BBDOTFILES", bb->show_dotfiles ? "1" : "", 1);
|
setenv("BBDOTFILES", bb->show_dotfiles ? "1" : "", 1);
|
||||||
populate_files(bb, bb->path);
|
populate_files(bb, bb->path);
|
||||||
} else if (matches_cmd(cmd, "execute:")) { // +execute:
|
|
||||||
move_cursor(tty_out, 0, termheight-1);
|
|
||||||
fputs("\033[K", tty_out);
|
|
||||||
restore_term(&default_termios);
|
|
||||||
run_script(bb, value);
|
|
||||||
init_term();
|
|
||||||
} else if (matches_cmd(cmd, "fg:") || matches_cmd(cmd, "fg")) { // +fg:
|
} else if (matches_cmd(cmd, "fg:") || matches_cmd(cmd, "fg")) { // +fg:
|
||||||
int fg = value ? nprocs - (int)strtol(value, NULL, 10) : 0;
|
int fg = value ? nprocs - (int)strtol(value, NULL, 10) : 0;
|
||||||
proc_t *child = NULL;
|
proc_t *child = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user