[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exit status issue
From: |
Greg Wooledge |
Subject: |
Re: exit status issue |
Date: |
Fri, 18 Nov 2011 15:35:30 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Fri, Nov 18, 2011 at 02:23:54PM -0600, Dallas Clement wrote:
> [pid 6747] execve("/bin/touch", ["touch", "/mnt/array1/.accesstest"],
> [/* 14 vars */]) = 0
>
> The = 0 at the end is the exit status.
That is the return value of the execve() call. All it means is that
the /bin/touch program was successfully launched.
$ strace -f bash -c false
...
execve("/bin/bash", ["bash", "-c", "false"], [/* 32 vars */]) = 0
...
arc3:~$ bash -c false; echo $?
1
- exit status issue, Dallas Clement, 2011/11/17
- Re: exit status issue, Geir Hauge, 2011/11/18
- Re: exit status issue, Greg Wooledge, 2011/11/18
- Re: exit status issue, Dallas Clement, 2011/11/18
- Re: exit status issue,
Greg Wooledge <=
- Re: exit status issue, Dallas Clement, 2011/11/18
- Re: exit status issue, Dallas Clement, 2011/11/22
- Re: exit status issue, Greg Wooledge, 2011/11/22
- Re: exit status issue, Dallas Clement, 2011/11/22
- Re: exit status issue, Greg Wooledge, 2011/11/22
- Re: exit status issue, Bob Proulx, 2011/11/22
- Re: exit status issue, Dallas Clement, 2011/11/22
- Re: exit status issue, Bob Proulx, 2011/11/22
- Re: exit status issue, Dallas Clement, 2011/11/22
- Re: exit status issue, Steven W. Orr, 2011/11/22