aboutsummaryrefslogtreecommitdiff
path: root/tools/sfsnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sfsnapshot')
-rwxr-xr-xtools/sfsnapshot5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/sfsnapshot b/tools/sfsnapshot
index 7b44adcc..8e82f298 100755
--- a/tools/sfsnapshot
+++ b/tools/sfsnapshot
@@ -81,3 +81,8 @@ EOF
rm -f $files
+# Work out success or failure
+expected=$(($# + 1))
+set -- $files
+[[ $# -ne $expected ]] && die "Expected $expected, got $#"
+exit 0