14 Oct
2004
14 Oct
'04
8:09 p.m.
On Thu, 14 Oct 2004 15:04:15 -0500, Ben Kelley <blk6224@gmail.com> wrote:
$? is the exit code of the previous command
# attempt to remount the RW mount point as RW; else abort $MOUNT -o remount,rw $MOUNT_DEVICE $SNAPSHOT_RW ; if (( $? )); then { $ECHO "snapshot: could not remount $SNAPSHOT_RW readwrite"; exit; } fi; So in this example if failed it would echo "snapshot: ...", or else go to next set of code. Correct? Thanks, -- dj_goku -www.djgoku.com- -www.tektronic.org-
8043
Age (days ago)
8043
Last active (days ago)
2 comments
2 participants
participants (2)
-
Ben Kelley -
djgoku