Skip to content

Commit

Permalink
systemd runs as 1 not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Nov 10, 2024
1 parent a7a0825 commit e031f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/testing/tail
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def run_execve(cmd, args=None):


pid = os.getpid()
if pid != 0:
if pid != 1:
cmd = "/usr/bin/tail.real"
run_execve(cmd, sys.argv[1:])
else:
Expand Down

0 comments on commit e031f4c

Please sign in to comment.