summaryrefslogtreecommitdiff
path: root/sh/rc-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/rc-functions.sh')
-rwxr-xr-xsh/rc-functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/rc-functions.sh b/sh/rc-functions.sh
index 571a0cf..b6c7cbd 100755
--- a/sh/rc-functions.sh
+++ b/sh/rc-functions.sh
@@ -63,7 +63,7 @@ is_net_fs() {
is_union_fs() {
[ ! -x /sbin/unionctl ] && return 1
- unionctl "$1" --list >/dev/null 2>/dev/null
+ unionctl "$1" --list >/dev/null 2>&1
}
get_bootparam() {
@@ -89,8 +89,8 @@ get_bootparam() {
# Add our sbin to $PATH
case "${PATH}" in
- /lib/rc/sbin|/lib/rc/sbin:*) ;;
- *) export PATH="/lib/rc/sbin:${PATH}" ;;
+ /lib/rc/sbin|/lib/rc/sbin:*);;
+ *) export PATH="/lib/rc/sbin:${PATH}";;
esac
# vim: set ts=4 :