Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/driver-loader-legacy/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ while test $# -gt 0; do
print_usage
exit 1
else
/usr/bin/falcoctl driver config "--type $1"
/usr/bin/falcoctl driver config --type $1
has_driver="true"
fi
;;
Expand Down
2 changes: 1 addition & 1 deletion docker/driver-loader/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ while test $# -gt 0; do
print_usage
exit 1
else
/usr/bin/falcoctl driver config "--type $1"
/usr/bin/falcoctl driver config --type $1
has_driver="true"
fi
;;
Expand Down
5 changes: 3 additions & 2 deletions docker/falco/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ if [[ -z "${SKIP_DRIVER_LOADER}" ]]; then
has_driver=
has_opts=
for opt in "${falco_driver_loader_option_arr[@]}"
case "$1" in
do
case "$opt" in
kmod|ebpf)
if [ -n "$has_driver" ]; then
>&2 echo "Only one driver per invocation"
print_usage
exit 1
else
/usr/bin/falcoctl driver config "--type $opt"
/usr/bin/falcoctl driver config --type $opt
has_driver="true"
fi
;;
Expand Down