Skip to content

Commit 00ad2b2

Browse files
committed
add live-status-detected
1 parent 0503e73 commit 00ad2b2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

usr/bin/live-status-detected

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
4+
## See the file COPYING for copying conditions.
5+
6+
set -o errexit
7+
set -o nounset
8+
set -o errtrace
9+
set -o pipefail
10+
11+
source /usr/libexec/helper-scripts/live-mode.sh
12+
13+
printf '%s\n' "$live_status_detected"
14+
15+
if [ "$live_status_detected" = "true" ]; then
16+
exit 0
17+
else
18+
exit 1
19+
fi

0 commit comments

Comments
 (0)