Project

General

Profile

Actions

Bug #2049

closed

env(1) should print program it attempts to exec on error, not argv[0]

Added by Albert Lee over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Category:
cmd - userland programs
Start date:
2012-01-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

If env is passed a command (utility in the manpage) which it is unable to execute, it currently prints unhelpful and misleading error messages like "/usr/bin/env: No such file or directory" for ENOENT. It should be including the pathname that failed.

Actions

Also available in: Atom PDF