mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
Make ctail handle files with spaces in their name
Quotes are needed around "$@" to keep parameters from splitting on spaces.
This commit is contained in:
parent
cfef699184
commit
69a12de4c6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if which ccze >/dev/null 2>&1; then
|
if which ccze >/dev/null 2>&1; then
|
||||||
tail -F $@ | ccze -A
|
tail -F "$@" | ccze -A
|
||||||
else
|
else
|
||||||
echo "ERROR: ccze not found, hint..." 1>&2
|
echo "ERROR: ccze not found, hint..." 1>&2
|
||||||
echo " sudo apt-get install ccze" 2>&1
|
echo " sudo apt-get install ccze" 2>&1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue