Tree: add correct exit code for watch directory