Skip to content

Commit

Permalink
docs(scripts): leave a small comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Apr 15, 2024
1 parent cb414f1 commit 7cc57a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/debian/postinst.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ systemctl --system disable 'falcoctl-artifact-follow.service' || true
systemctl --system unmask falcoctl-artifact-follow.service || true

if [ "$1" = "configure" ]; then
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $FALCO_DRIVER_CHOICE in
none)
CHOICE=1
Expand All @@ -63,7 +64,7 @@ if [ "$1" = "configure" ]; then
5 "Modern eBPF" \
2>&1 >/dev/tty)
fi
# No need to manage automatic case since it is already the default
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $CHOICE in
1)
chosen_driver=""
Expand Down
3 changes: 2 additions & 1 deletion scripts/rpm/postinstall.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ systemctl --system disable 'falcoctl-artifact-follow.service' || true
systemctl --system unmask falcoctl-artifact-follow.service || true

if [ $1 -ge 1 ]; then
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $FALCO_DRIVER_CHOICE in
none)
CHOICE=1
Expand All @@ -62,7 +63,7 @@ if [ $1 -ge 1 ]; then
5 "Modern eBPF" \
2>&1 >/dev/tty)
fi
# No need to manage automatic case since it is already the default
# "auto" case is not managed here since it is already the default, so no CHOICE=2
case $CHOICE in
1)
chosen_driver=""
Expand Down

0 comments on commit 7cc57a9

Please sign in to comment.