Commit 30151e6f authored by Tom Schoonjans's avatar Tom Schoonjans Committed by Tim-Philipp Müller
Browse files

ptp_helper_post_install.sh: deal with none

Part-of: <!655>
parent ef4b6149
Pipeline #209142 waiting for manual action with stages
in 38 seconds
......@@ -20,6 +20,9 @@ case "$with_ptp_helper_permissions" in
echo "Calling $setcap cap_net_bind_service,cap_net_admin+ep $ptp_helper"
$setcap cap_net_bind_service,cap_net_admin+ep "$ptp_helper" || true
;;
none)
echo "No perms/caps to set for $ptp_helper"
;;
*)
echo "$0 ERROR: unexpected permissions value '$with_ptp_helper_permissions'";
exit 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment