posix: fix an accidentally recursive pattern