Add missing function
This commit is contained in:
parent
d83aacfb3f
commit
0207182eb9
|
@ -16,6 +16,12 @@ trim() {
|
||||||
set +f
|
set +f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trim_quotes() {
|
||||||
|
trim_output="${1//\'}"
|
||||||
|
trim_output="${trim_output//\"}"
|
||||||
|
printf "%s" "$trim_output"
|
||||||
|
}
|
||||||
|
|
||||||
get_ppid() {
|
get_ppid() {
|
||||||
# Get parent process ID of PID.
|
# Get parent process ID of PID.
|
||||||
case "$os" in
|
case "$os" in
|
||||||
|
|
Loading…
Reference in New Issue