Shouldn't this be:
```bash
[ "$1" ] && exec "$@"
```
instead?