Re: [shell] script's return status

Oliver Grawert <ogra-GeWIH/[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1206958390.12916.31.camel@laptop>
hi,
Am Montag, den 31.03.2008, 12:57 +0300 schrieb Michael Shigorin:
> On Sun, Mar 30, 2008 at 01:06:27AM -0400, Warren Togami wrote:
> > >> [ -e /selinux/enforce ] && /sbin/restorecon -R $TFTPDIR &> /dev/null

> The difference is in exit code which can suddenly become
> non-zero, and being the last line this determines the whole
> script's execution status.
did you miss the redirect at the end of the line ? there wont be any
exit code from that

ciao
	oli

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBH8Lk2SsOT+6LQaTYRAvO0AKCa6AuSHHTnZ15aPl3JpD0aPuYxQwCg0UoC
liubFemywCvEqJS+aSlYii4=
=0wJU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.