- sh = backslash (concat (cygroot, shells[i], 0));
- if (_access (sh, 0) == 0)
- break;
- free (sh);
- sh = 0;
+ for (i=0; shells[i]; i++)
+ {
+ sh = backslash (concat (cygroot, shells[i], 0));
+ if (_access (sh, 0) == 0)
+ break;
+ free (sh);
+ sh = 0;
+ }