bash: modified func 'root': job control