diff options
| -rwxr-xr-x | sh | bin | 4576 -> 4568 bytes | |||
| -rw-r--r-- | sh.asm | 4 | ||||
| -rw-r--r-- | sh.o | bin | 4928 -> 4912 bytes |
3 files changed, 2 insertions, 2 deletions
| Binary files differ @@ -90,7 +90,7 @@ _exec: mov rax, stub_fork syscall mov dword [cpid], eax - cmp dword [cpid], 0x0 + test eax, eax ;checks if cpid is 0 jne _wait_for_proc ; now that we know what to execute, do so @@ -146,7 +146,7 @@ _parse_path2: jl _quit mov r8, r9 dec r8 - +; Reads the PATH variable _pathfinder: inc r8 xor rax, rax Binary files differ |
