dahdi_cfg: minor: Rename fo_real to dry_run

Minor readability change

Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
Acked-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
Russ Meyerriecks 2014-07-22 16:24:26 -05:00
parent 4e14561508
commit df47721962

View File

@ -109,7 +109,7 @@ static int fiftysixkhdlc[DAHDI_MAX_CHANNELS];
static int spans=0; static int spans=0;
static int fo_real = 1; static int dry_run = 0;
static int verbose = 0; static int verbose = 0;
@ -1590,7 +1590,7 @@ int main(int argc, char *argv[])
force++; force++;
break; break;
case 't': case 't':
fo_real = 0; dry_run = 1;
break; break;
case 's': case 's':
stopmode = 1; stopmode = 1;
@ -1683,9 +1683,9 @@ finish:
if (verbose) { if (verbose) {
printconfig(fd); printconfig(fd);
} }
if (!fo_real)
exit(0);
if (dry_run)
exit(0);
if (debug & DEBUG_APPLY) { if (debug & DEBUG_APPLY) {
printf("About to open Master device\n"); printf("About to open Master device\n");