From: xf0r3m Date: Wed, 9 Aug 2023 16:05:16 +0000 (+0200) Subject: Usunięcie polecenia 'exit 1', powodującego nieoczekiwane zakończenie połaczenia z... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=1837670a20a5c2172f97201e077d9a84655a0ab1;p=idle.git Usunięcie polecenia 'exit 1', powodującego nieoczekiwane zakończenie połaczenia z serwerem po wygenerowaniu błedu o braku inicjalizacji lxd - funkcja 'idle-fetch-containers', główny skrypt funkcji - idle.sh --- diff --git a/idle.sh b/idle.sh index da59050..e4324bb 100644 --- a/idle.sh +++ b/idle.sh @@ -60,7 +60,6 @@ function idle-get-container-name-list() { function idle-list-containers() { if ! lxc profile show default | grep -q 'idle'; then echo -e "${RED}LXD isn't initialized. You must run 'idle-lxd-init' firs${ENDCOLOR}"; - exit 1; else containerNameList=$(idle-get-container-name-list --all); for container in $containerNameList; do