indents
This commit is contained in:
parent
bc7498fba2
commit
db2092a251
1 changed files with 4 additions and 4 deletions
6
pidd.sh
6
pidd.sh
|
@ -700,9 +700,9 @@ pidd_error_os() {
|
||||||
pidd_grep_os() {
|
pidd_grep_os() {
|
||||||
pidd_grep_os__variable="${1}"
|
pidd_grep_os__variable="${1}"
|
||||||
if [ -n "${pidd_grep_os__variable}" ]; then
|
if [ -n "${pidd_grep_os__variable}" ]; then
|
||||||
grep "^${pidd_grep_os__variable}=" "/etc/os-release" \
|
grep "^${pidd_grep_os__variable}=" "/etc/os-release" |
|
||||||
| sed "s|^${pidd_grep_os__variable}=||" \
|
sed "s|^${pidd_grep_os__variable}=||" |
|
||||||
| sed "s|^\"\(.*\)\"$|\1|"
|
sed "s|^\"\(.*\)\"$|\1|"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue