Skip to content

Commit 97dd851

Browse files
authored
Update index.html
1 parent 3bec0a5 commit 97dd851

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@
5454
exit 2
5555
elif [[ -t 0 && "${BASH_SOURCE[0]}" == "$0" ]]; then
5656
echo "🧑 Interaktif: dijalankan langsung (bash script.sh)"
57-
exit 3
58-
elif [[ -n "${BASH_SOURCE[0]}" ]]; then
59-
echo "📦 Terdeteksi: dijalankan via source"
57+
:
58+
elif [[ -e /proc/self/fd/63 && $(readlink /proc/self/fd/63) == pipe:* ]]; then
59+
echo "Terdeteksi: dijalankam via subtitusi"
6060
exit 4
61+
elif [[ -n "${BASH_SOURCE[0]}" ]]; then
62+
echo "📦 Terdeteksi: dijalankan via source"
63+
exit 5
6164
fi
6265
6366

0 commit comments

Comments
 (0)