Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
b4fd7c4b
Commit
b4fd7c4b
authored
Apr 15, 2020
by
Maciej Lipinski
Committed by
Grzegorz Daniluk
May 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[syslog] fixed incorrect "if" condition (missing square brackets)
parent
a4fbb22a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
check_incoming_leap_second.sh
.../rootfs_override/etc/init.d/check_incoming_leap_second.sh
+1
-1
No files found.
userspace/rootfs_override/etc/init.d/check_incoming_leap_second.sh
View file @
b4fd7c4b
...
...
@@ -25,7 +25,7 @@ if echo "$WRS_LOG" | grep / > /dev/null; then
eval
LOGPIPE
=
\"
\>
$WRS_LOG
2
\>\&
1
\"
;
else
# not a pathname: use verbatim
if
"
$WRS_LOG
"
=
"default_syslog"
;
then
if
[
"
$WRS_LOG
"
=
"default_syslog"
]
;
then
eval
LOGPIPE
=
\"
2
\>\&
1
\|
logger
-t
$pBaseName
--prio-prefix
\"
else
eval
LOGPIPE
=
\"
2
\>\&
1
\|
logger
-t
$pBaseName
-p
$WRS_LOG
\"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment