Arreglos varios #6
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
get_stack () {
|
get_stack () {
|
||||||
if [[ ! -z $1 && $1 == "wc" ]];then
|
if [[ ! -z $1 && $1 == "wc" ]];then
|
||||||
ls /opt/nodemecu/stack | wc -l
|
ls $install_dir/stack | wc -l
|
||||||
else
|
else
|
||||||
ls /opt/nodemecu/stack | tail -1
|
ls $install_dir/stack | tail -1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue