Skip to content

Commit

Permalink
Fix: check if system notes benner exist before printing it
Browse files Browse the repository at this point in the history
Signed-off-by: Pau Escrich <p4u@dabax.net>
  • Loading branch information
p4u committed Mar 26, 2017
1 parent 7bdb0df commit a134754
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/lime-webui/files/etc/profile.d/system_notes.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

echo System Notes
echo ============
cat /etc/banner.notes
echo
echo ""
echo "=== System Notes ====================================="
[ -f /etc/banner.notes ] && cat /etc/banner.notes
echo "======================================================"
echo ""

0 comments on commit a134754

Please sign in to comment.