diff --git a/userland/aws.el b/userland/aws.el index 2e58311..c4a16cf 100644 --- a/userland/aws.el +++ b/userland/aws.el @@ -50,7 +50,7 @@ (auth-fn (lambda () (message (concat "Authenticating with " role " via " aws-cli-auth-provider)) (shell-command (concat aws-cli-auth-provider " login --force --skip-prompt --role " role))))) - (auth-fn) + (funcall auth-fn) (when aws-auto-reauth (setq aws-reauth-timer (run-at-time t (* 60 aws-auto-reauth) auth-fn)))))