Skip to content
Browse files

lnet: Fixed absolute path issues, $PATH is already properly set

  • Loading branch information...
1 parent 1edad58 commit 3c834f12d8717a98203d31a61325d817edc7d851 @Ratler committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lnet/lnet
View
4 lnet/lnet
@@ -53,7 +53,7 @@ goodbye() {
}
get_dev_list() {
- /bin/ls -1 $CONFIG_DIR | sort
+ ls -1 $CONFIG_DIR | sort
}
get_dev_status() {
@@ -335,7 +335,7 @@ function ethernet_manage_device() {
;;
esac
- if [[ "$(/sbin/ifconfig | grep $1 | wc -l)" -ge "1" ]]; then
+ if [[ "$(ifconfig | grep $1 | wc -l)" -ge "1" ]]; then
T=1; else T=0
fi

0 comments on commit 3c834f1

Please sign in to comment.
Something went wrong with that request. Please try again.