Commit df477219 authored by Russ Meyerriecks's avatar Russ Meyerriecks

dahdi_cfg: minor: Rename fo_real to dry_run

Minor readability change
Signed-off-by: 's avatarRuss Meyerriecks <rmeyerriecks@digium.com>
Acked-by: 's avatarShaun Ruffell <sruffell@digium.com>
parent 4e145615
......@@ -109,7 +109,7 @@ static int fiftysixkhdlc[DAHDI_MAX_CHANNELS];
static int spans=0;
static int fo_real = 1;
static int dry_run = 0;
static int verbose = 0;
......@@ -1590,7 +1590,7 @@ int main(int argc, char *argv[])
force++;
break;
case 't':
fo_real = 0;
dry_run = 1;
break;
case 's':
stopmode = 1;
......@@ -1683,9 +1683,9 @@ finish:
if (verbose) {
printconfig(fd);
}
if (!fo_real)
exit(0);
if (dry_run)
exit(0);
if (debug & DEBUG_APPLY) {
printf("About to open Master device\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment