Permalink
Browse files

Bail if nothing loaded

  • Loading branch information...
decklin committed Jun 24, 2010
1 parent 60475b6 commit b954bdbe786e992ab106fe8be3d70011f2e3372d
Showing with 5 additions and 0 deletions.
  1. +5 −0 curlicue
View
@@ -78,6 +78,11 @@ while getopts 'r:p:e:' OPTION; do
done
shift $(($OPTIND-1))
+if [ -z "$oauth_consumer_key" -o -z "$oauth_consumer_secret" ]; then
+ echo "Couldn't load a consumer key and secret! Exiting."
+ exit 1
+fi
+
for i; do
case "$prev" in
-d|--data) url_params="$i";;

0 comments on commit b954bdb

Please sign in to comment.