stabbish

:)
git clone https://git.sr.ht/~ashymad/stabbish
Log | Files | Refs | README | LICENSE

commit dcfcec80926b674ea9afea8e7e7f9a39f04e0a50
parent 8def0009c6182b7be9ccfd5db06dee3e7e1d1aea
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Thu,  2 Jul 2026 13:31:13 +0200

No message

Diffstat:
MMakefile | 2+-
Mmain.c | 2--
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -54,7 +54,7 @@ $(CC): .deps/busybox-$(BB_VER)/busybox: .deps/busybox-$(BB_VER)/.config $(CC) $(info MK $@) - @make -C .deps/busybox-$(BB_VER) HOSTCFLAGS+="-static" HOSTLDFLAGS+="-static" EXTRA_LDFLAGS="-static" + @make -j$$(nproc) -C .deps/busybox-$(BB_VER) HOSTCFLAGS+="-static" HOSTLDFLAGS+="-static" EXTRA_LDFLAGS="-static" busybox: .deps/busybox-$(BB_VER)/busybox $(info LN $@) diff --git a/main.c b/main.c @@ -63,9 +63,7 @@ int main(int argc, char **argv) { int payload_size = self_size - payload_i; if (payload_size <= 0) { - fprintf(stderr, "No payload found, starting shell.\n"); argv[0] = "ash"; - return fexecve(bbox, argv, environ); }