diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-14 17:09:59 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-14 17:09:59 +0100 |
| commit | 7a98e998c5cda484611d19854649ab8535f503d4 (patch) | |
| tree | 43f7dae6921ced5ee9001f1d31c662351678a718 /core/unmount.c | |
| parent | c0178363472e162a7cb21e381c512979130dfdb0 (diff) | |
add simplet init system
Diffstat (limited to 'core/unmount.c')
| -rw-r--r-- | core/unmount.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/unmount.c b/core/unmount.c new file mode 100644 index 0000000..81103d9 --- /dev/null +++ b/core/unmount.c @@ -0,0 +1,12 @@ +#include "../lib/io/io.h" +#include "../lib/sys/unmount.h" + +int main(int argc, char **argv) +{ + if (argc != 2) { + wff(STDERR_FD, "unmount <path>\n"); + return -1; + } + + return unmount(argv[1], 9); +} |