mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
scripts: use "/bin/cat" in NM-log
Ubuntu 16.04 doesn't have merged /usr directories and cat is in /bin/cat.
This commit is contained in:
parent
80c93b0e5e
commit
67cc4544f7
|
@ -44,10 +44,10 @@ NM-colorize() {
|
||||||
if [[ "$NM_LOG_GREP" != "" ]]; then
|
if [[ "$NM_LOG_GREP" != "" ]]; then
|
||||||
GREP_COLOR='01;36' grep -a --color=always "^\\|$NM_LOG_GREP"
|
GREP_COLOR='01;36' grep -a --color=always "^\\|$NM_LOG_GREP"
|
||||||
else
|
else
|
||||||
/usr/bin/cat -
|
/bin/cat -
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
/usr/bin/cat -
|
/bin/cat -
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue