in reply to How to capture log from external interactive process
rc=$? if [[ ${rc} -ne 0 ]]; then echo "cp -i $file1 $file2 failed with a value of ${rc}" fi
--
tbone1, YAPS (Yet Another Perl Schlub)
And remember, if he succeeds, so what.
- Chick McGee
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to capture log from external interactive process
by sintadil (Pilgrim) on Sep 17, 2004 at 14:30 UTC | |
by LessMonk (Initiate) on Sep 17, 2004 at 14:44 UTC |