Skip to content

Commit

Permalink
Fix sourcing of /lib*/rc/sh/functions.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Jan 19, 2018
1 parent 5a17885 commit 38d5062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/openrc-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
# If openrc's functions.sh can be used, then use it
source_functions() {
for wrapper_i in /lib64 /lib
do ! test -r $wrapper_i/rc/sh/functions.sh || continue
do test -r $wrapper_i/rc/sh/functions.sh || continue
. $wrapper_i/rc/sh/functions.sh
return 0
done
Expand Down

0 comments on commit 38d5062

Please sign in to comment.