diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index d325be31..42a28bec 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -93,7 +93,7 @@ tail -f /root/.internxt-cli/logs/internxt-webdav-combined.log & # exits on failure so that Docker's restart policy (e.g. --restart unless-stopped) # can recover the container with a clean login. set +e -KEEPALIVE_INTERVAL=1800 +KEEPALIVE_INTERVAL=30 keepaliveEnabled=$(echo "$WEBDAV_KEEPALIVE_ENABLED" | tr '[:upper:]' '[:lower:]') if [ -z "$WEBDAV_KEEPALIVE_ENABLED" ] || [ "$keepaliveEnabled" = "true" ] || [ "$keepaliveEnabled" = "1" ] || [ "$keepaliveEnabled" = "yes" ] || [ "$keepaliveEnabled" = "y" ]; then diff --git a/src/commands/whoami.ts b/src/commands/whoami.ts index 2670412c..65c093ba 100644 --- a/src/commands/whoami.ts +++ b/src/commands/whoami.ts @@ -17,6 +17,7 @@ export default class Whoami extends Command { static readonly enableJsonFlag = true; public run = async () => { + await this.parse(Whoami); const userCredentials = await ConfigService.instance.readUser(); if (!userCredentials) { const message = 'You are not logged in.';