From ef75c63e630a3a979747ffa478afc09fbd6dde44 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Tue, 17 Nov 2020 17:40:26 +0100 Subject: [PATCH] chore(scripts): print versions at the beginning Co-authored-by: Leonardo Di Donato Signed-off-by: Leonardo Grasso --- scripts/falco-driver-loader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/falco-driver-loader b/scripts/falco-driver-loader index 0c2633f1de2..ef4043f682c 100755 --- a/scripts/falco-driver-loader +++ b/scripts/falco-driver-loader @@ -606,6 +606,8 @@ if [ -z "$has_opts" ]; then fi if [ -z "$source_only" ]; then + echo "* Running falco-driver-loader for: falco version=${FALCO_VERSION}, driver version=${DRIVER_VERSION}" + if [ "$(id -u)" != 0 ]; then >&2 echo "This program must be run as root (or with sudo)" exit 1 @@ -642,6 +644,4 @@ if [ -z "$source_only" ]; then ;; esac fi -fi - -echo "* Running falco-driver-loader for: falco version=${FALCO_VERSION}, driver version=${DRIVER_VERSION}" \ No newline at end of file +fi \ No newline at end of file