Fixed warning of getBashOutput return