Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 1997 11:53:23 -0800 (PST)
From:      John Polstra <jdp>
To:        CVS-committers, cvs-all, cvs-usrbin
Subject:   cvs commit:  src/usr.bin/lockf lockf.1 lockf.c
Message-ID:  <199701091953.LAA18145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jdp         97/01/09 11:53:23

  Modified:    usr.bin/lockf  lockf.1 lockf.c
  Log:
  On failure, return various exit codes from <sysexits.h>.  In particular,
  return EX_TEMPFAIL if the file was already locked.  This makes it easier
  to distinguish between lock collisions and failures within the command
  being executed.
  
  Also, don't complain if the unlink() fails in the cleanup handler.  It
  doesn't matter anyway, and it obscured the exit status returned from
  the command that was executed.
  
  Revision  Changes    Path
  1.2       +21 -4     src/usr.bin/lockf/lockf.1
  1.2       +13 -13    src/usr.bin/lockf/lockf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701091953.LAA18145>