cvs commit: src/bin/sh exec.c

Stefan Farfeleder stefanf at FreeBSD.org
Thu Jan 11 00:19:00 UTC 2007


stefanf     2007-01-11 00:19:00 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               exec.c 
  Log:
  Return an error status (127) from the builtins 'type' and 'command' (with
  either -v or -V) if a file with a slash in the name doesn't exist (if there is
  no slash we already did that).
  
  Additionally, suppress the error message for command -v for files with a slash.
  
  PR:             107674
  Submitted by:   Martin Kammerhofer
  
  Revision  Changes    Path
  1.30      +5 -2      src/bin/sh/exec.c


More information about the cvs-all mailing list