Skip to content

Commit

Permalink
srp_daemon: start_on_all_ports uses a bashism
Browse files Browse the repository at this point in the history
start_on_all_ports[1184]: /usr/lib/srp_daemon/start_on_all_ports: 6: /usr/lib/srp_daemon/start_on_all_ports: Bad substitution

Explicitly use bash for compatibility with Debian.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
  • Loading branch information
jgunthorpe committed Jul 27, 2017
1 parent b03beb1 commit 9c071cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srp_daemon/start_on_all_ports
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

for p in /sys/class/infiniband/*/ports/*; do
[ -e "$p" ] || continue
Expand Down

0 comments on commit 9c071cb

Please sign in to comment.