Skip to content
Snippets Groups Projects
Commit a5825a84 authored by Jan-Niklas Burfeind's avatar Jan-Niklas Burfeind
Browse files

gluon-status-page: fix indentation

parent 309922e5
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
badrequest() { badrequest() {
echo 'Status: 400 Bad Request' echo 'Status: 400 Bad Request'
echo echo
exit 1 exit 1
} }
( gluon-list-mesh-interfaces | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest ( gluon-list-mesh-interfaces | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest
......
#!/bin/sh #!/bin/sh
badrequest() { badrequest() {
echo 'Status: 400 Bad Request' echo 'Status: 400 Bad Request'
echo echo
exit 1 exit 1
} }
( gluon-list-mesh-interfaces | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest ( gluon-list-mesh-interfaces | grep -qxF "$QUERY_STRING" ) 2>/dev/null || badrequest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment