]> granicus.if.org Git - procps-ng/commit
Don't check if output changed on first screen.
authorKent R. Spillner <kspillner@acm.org>
Sun, 11 Mar 2012 15:14:27 +0000 (10:14 -0500)
committerKent R. Spillner <kspillner@acm.org>
Sun, 11 Mar 2012 15:14:27 +0000 (10:14 -0500)
commitddfc402886eb215d34ce031a60a861e50e80a19a
tree9827f92267dcceeabbc6a11c08c51663307d3a93
parentf5a3afdcae67938cf7e6040d01a1d51a51e40350
Don't check if output changed on first screen.

When invoked with the --chgexit/-g options wait until we have at
least one screen of output before checking if the output changed.
Otherwise, we're comparing the initial screen of output to all
spaces, which usually isn't what we want.
watch.c