The UNIX and Linux Forums
>
Special Forums
>
UNIX and Linux Applications
How to automatically detect command failure
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
How to automatically detect command failure
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-24-2008
krishmaths
Registered User
Join Date: Sep 2006
Location: Mysore, India
Posts: 155
You can write a function, say "handle_error" where you can define the if condition, and execute this function whenever you need it.
krishmaths
View Public Profile
Find all posts by krishmaths