#!/bin/sh

if [ -d /cores ]; then
  for core in /cores/*; do
    lldb --core $core --one-line "bt all" < /dev/null
  done
fi
