|
From: | ali hagigat |
Subject: | Why sh does not return a false value? |
Date: | Sat, 5 Feb 2011 16:17:05 +0330 |
if (sh -c exit 34) then echo ppppppppp;fi ppppppppp The following condition should be false, because our exit value is non-zero. but 'if' considers the condition as true and executes 'echo' command. Why?
[Prev in Thread] | Current Thread | [Next in Thread] |