summaryrefslogtreecommitdiff
path: root/src/cmd/shell
diff options
context:
space:
mode:
authordzwdz2024-07-26 21:40:57 +0200
committerdzwdz2024-07-26 21:40:57 +0200
commit58514d351e1f0e8871f534422cf025109ddbb844 (patch)
tree43c91a3c6c325649be2f07f2a38d0753f0a68cf7 /src/cmd/shell
parent69fd0dd9fda47aa52cccdbef6ca388cea38e693b (diff)
kernel: implement _sys_intr_return
Diffstat (limited to 'src/cmd/shell')
-rw-r--r--src/cmd/shell/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/shell/shell.c b/src/cmd/shell/shell.c
index 15cb6ed..bdf36a9 100644
--- a/src/cmd/shell/shell.c
+++ b/src/cmd/shell/shell.c
@@ -141,6 +141,7 @@ static void run(char *cmd) {
static void intr(struct intr_data *intr) {
fprintf(stderr, "%s: got interrupt: %s\n", getprogname(), intr->msg);
+ _sys_intr_return(intr, 0);
}
int main(int argc, char **argv) {