We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 532f2fe + 82ecaf0 commit 4587fd3Copy full SHA for 4587fd3
demo/dlb-init.sh
@@ -5,8 +5,8 @@ enable_and_configure_vfs() {
5
6
sriov_numvfs_path="$devpath/sriov_numvfs"
7
if ! test -w "$sriov_numvfs_path"; then
8
- echo "error: $sriov_numvfs_path is not found or not writable. Check if dlb driver module is loaded"
9
- exit 1
+ echo "$sriov_numvfs_path is not found or not writable. In case there is no configured VF yet, check if dlb driver module is loaded"
+ exit 0
10
fi
11
if [ "$(cat "$sriov_numvfs_path")" -ne 0 ]; then
12
echo "$devpath already configured"
0 commit comments