Skip to content

Commit

Permalink
prun: Fail on errors
Browse files Browse the repository at this point in the history
Make prun fail on errors (especially, if the profile for the package
name given as an argument doesn't exist).

Fixes #41
donald committed May 3, 2018
1 parent c907786 commit ac9a8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prun/prun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#! /bin/bash -e
if [ $# -lt 2 ]; then
echo "usage: prun package command ..." >&2
exit 1

0 comments on commit ac9a8b8

Please sign in to comment.