aboutsummaryrefslogtreecommitdiff
path: root/man/man1/igex.1
blob: 1c2396d4ed57f1f906ee8aeab42f1eebd179c912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH IGEX 1 "February 2016" "Manual page for igex"
.SH NAME
.B igex
\- run a command, ignoring specified error exit values
.SH USAGE
.B igex [-hv] -i IGNORE1[,IGNORE2...] [--] COMMAND [ARG1...]
.SH DESCRIPTION
Runs the given command and checks its exit value. If it matches any of the
ignored values given in -i, exits 0. Otherwise, exits with the command's exit
value as normal.
.P
Option -h gives help, option -v turns on verbose output, option -i specifies an
the signals to ignore, comma-delimited; you must specify at least one non-zero
integer.
.P
   $ igex -i1 false
   $ igex -v -i24 rsync source dest
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>