aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-13 21:57:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-13 21:57:51 -0700
commit507a4d9c547c46d08ae36e8666ff16a60092b530 (patch)
tree1ee937be823619b82d3af3932359772bb54df2fd
parentb972b24f3e0a85cd7f7cfe0eb2125ccf4c2efbc3 (diff)
downloadpw-507a4d9c547c46d08ae36e8666ff16a60092b530.tar.gz
pw-507a4d9c547c46d08ae36e8666ff16a60092b530.tar.bz2
pw-507a4d9c547c46d08ae36e8666ff16a60092b530.zip
bugfix: snapshots not taken in background.
-rw-r--r--pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw.c b/pw.c
index 4c52ab8..8f2ee3c 100644
--- a/pw.c
+++ b/pw.c
@@ -1545,7 +1545,7 @@ int main(int argc, char **argv)
}
}
- if ((pw.stat & (stat_bkgnd | stat_susp)) == 0) {
+ if ((pw.stat & stat_susp) == 0) {
if (!force) {
struct timeval tv;
int now;