summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f90cb57)
There's nothing useful in `errno'. Let's not end up saying `Success'
here.
if (scriptpath[scriptpathlen-1]=='~') error("bad char end");
r= stat(scriptpath,&stab); if (r) syserror("stat script");
if (S_ISREG(stab.st_mode)) break;
if (scriptpath[scriptpathlen-1]=='~') error("bad char end");
r= stat(scriptpath,&stab); if (r) syserror("stat script");
if (S_ISREG(stab.st_mode)) break;
- if (!S_ISDIR(stab.st_mode)) syserror("script not directory or file");
+ if (!S_ISDIR(stab.st_mode)) error("script not directory or file");
lastslash= nextslash;
}
if (*nextslash) xsetenv("PATH_INFO",nextslash,1);
lastslash= nextslash;
}
if (*nextslash) xsetenv("PATH_INFO",nextslash,1);