mozilla-b2g/gaia — pull request #22432 by JonHylands (2014-08-01 20:48:49+00:00)
Title: Bug 1028261 - Fix to exit with a non-zero code on errors

Fixed to handle both /storage/sdcard and /storage/sdcard0