[obex] Returning exec() value to shell

I guess returning to shell what exec() returns would probably be better.