aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-18 15:05:27 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-18 15:05:27 +0200
commit7dbdef86487cbfcc23df0113da1c40ca834480ac (patch)
tree5f1cec1f93c4476f7bff5a792d2f348cdc1c1099
parent5b4358819a1af8dec70722491d32c8863ba65423 (diff)
downloadxutil-7dbdef86487cbfcc23df0113da1c40ca834480ac.tar.gz
wpdf: Fail if call to watch fails
-rwxr-xr-xwpdf1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpdf b/wpdf
index 3a362ca..58409db 100755
--- a/wpdf
+++ b/wpdf
@@ -35,3 +35,4 @@ while (<$p>) {
&& system('xpdf', '-remote', "wpdf-$deps{$_}", '-reload');
}
close $p;
+exit($? != 0);