exit -1 when shell not available