catch errors

This commit is contained in:
Joe Orton 2012-05-31 14:30:31 +01:00
parent 5dd3534137
commit ddd6f9f031

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
echo "What?" echo "What?"