[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error "sh: 1: exec: ...: File exists" with dash



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 03, 2016 at 12:12:45PM +0100, Vincent Lefevre wrote:
> On 2016-03-03 11:06:55 +0100, tomas@tuxteam.de wrote:
> > On Thu, Mar 03, 2016 at 10:18:55AM +0100, Vincent Lefevre wrote:
> > > I've got the following error in a script yesterday on a Debian 8
> > > machine:
> > > 
> > >   sh: 1: exec: /home/vlefevre/bin/mymaple: File exists
> > > 
> > > where sh is dash. The command that led to this error is equivalent to:
> > 
> > Just a cheap shot (I see you've dug up a couple of things which
> > might make my hunch obsolete). Do you have perhaps the noclobber
> > option set?

[...]

> As you can see the error message is different. It is at the shell
> level (before the "exec" command gets executed).

Yeah -- I said it was a cheap shot. Judging by the rest of the thread,
it's far more "interesting".

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbZoBgACgkQBcgs9XrR2kZVVgCfboXyUx7jd8CgwuOyrm6fOcUX
N20AnR4g8/IaouewpnU3XjE4cJ9S64lT
=DL/p
-----END PGP SIGNATURE-----


Reply to: