diff options
-rwxr-xr-x | tools/sfsnapshot | 5 |
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 |