commit 6b0738c5b7f5117b4cbf725cc4a9ab87463d1c1d
parent dbbac30b5c80329772ca2aa23598f8bc75210ec2
Author: Jaromil <jaromil@dyne.org>
Date: Thu, 7 Jun 2012 06:36:04 +0200
fixed account settings in fetch
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jaro b/src/jaro
@@ -713,9 +713,9 @@ fetch() {
typeset -al all
# recursion here
- if [ -z $1 ]; then fetchall; return $?; fi
+ { test $account = default } && { fetchall; return $? }
- read_account "$1"
+ read_account "$account"
if [ $? != 0 ]; then
error "Account configuration not found, or broken. Aborting operation."
return 1