Searched refs:shellpath (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c1240 char shellnam[40], *shellpath, *namep; local
1250 shellpath = getenv("SHELL");
1251 if (shellpath == NULL)
1252 shellpath = _PATH_BSHELL;
1253 namep = strrchr(shellpath, '/');
1255 namep = shellpath;
1261 printf ("%s\n", shellpath);
1265 execl(shellpath,shellnam,"-c",altarg,(char *)0);
1268 execl(shellpath,shellnam,(char *)0);
1270 warn("%s", shellpath);
[all...]
/freebsd-9.3-release/usr.sbin/pw/
H A Dpw_user.c986 static char shellpath[256]; local
989 sprintf(shellpath, "%s/%s", p, sh);
990 if (access(shellpath, X_OK) == 0)
991 return shellpath;
994 sprintf(shellpath, "%s/%s", p, shells[i]);
995 if (access(shellpath, X_OK) == 0)
996 return shellpath;

Completed in 56 milliseconds