bash: fix warning

fixes: void endpwent()(3) is not implemented on Android

Change-Id: Ib7c39bcdedf7e0581b7e84d8eb7747f1fe4e620f