2049 env(1) should print program it attempts to exec on error, not argv[0]
commit8c8c34cdb777834022d7093fb814ac34a91e8c89
authorRobert Mustacchi <rm@joyent.com>
Tue, 29 May 2012 20:58:04 +0000 (29 13:58 -0700)
committerRobert Mustacchi <rm@joyent.com>
Tue, 29 May 2012 20:58:04 +0000 (29 13:58 -0700)
tree673e08b72890cdec51ab51b6c0bb8717e551f33b
parent943287c6a377d5a9b0c5b6ec53176763b05b7f17
2049 env(1) should print program it attempts to exec on error, not argv[0]
Reviewed by: Dave Pacheco <dap@joyent.com>
Reviewed by: Dan Kruchinin <dkruchinin@acm.org>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
usr/src/cmd/env/env.c