commit | bcbc472c08185e2303f41cfc2bccc008b2725845 | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Thu Jul 05 13:50:24 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jul 05 13:50:24 2018 +0000 |
tree | 2302ab544c23a6bb703f6ce428e11e49425e176c | |
parent | abc40d7625e1faf74b6044e67f4e31066bb22749 [diff] | |
parent | 69dbaad5a36464bf6dbfd1cbc1bc63d2f1ff5c68 [diff] |
Merge "track_memory.sh should fail if its subcommand fails"
diff --git a/tools/track_memory.sh b/tools/track_memory.sh index c0b4716..4629d4b 100755 --- a/tools/track_memory.sh +++ b/tools/track_memory.sh
@@ -16,7 +16,7 @@ function Exit { kill $lid - exit 0 + exit $code } function Kill { @@ -41,3 +41,4 @@ trap "Exit" EXIT trap "Kill" SIGINT wait $pid +code=$?