Skip to content

Commit 0e4c693

Browse files
committed
dts.sh: export 'SEND_LOGS_ACTIVE' and 'DPP_IS_LOGGED'
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
1 parent d25d2d2 commit 0e4c693

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/dts.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ fi
2626

2727
set_menu_vars() {
2828
DPP_IS_LOGGED=$(get_global_state DPP_IS_LOGGED)
29+
export DPP_IS_LOGGED
2930
DISPLAY_CREDENTIALS=$(get_global_state DISPLAY_CREDENTIALS)
3031

3132
if check_if_dasharo; then
@@ -54,6 +55,7 @@ set_menu_vars() {
5455
SSH_ACTIVE="false"
5556
fi
5657
SEND_LOGS_ACTIVE=$(get_global_state SEND_LOGS_ACTIVE)
58+
export SEND_LOGS_ACTIVE
5759
if [ "${SEND_LOGS_ACTIVE}" = "true" ]; then
5860
SEND_LOGS_LABEL="disable sending DTS logs"
5961
else

0 commit comments

Comments
 (0)