gluon-status-page: fix indentation

This commit is contained in:
Jan-Niklas Burfeind 2022-12-16 23:48:37 +01:00
parent 309922e5c9
commit a5825a840a
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
#!/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

View File

@ -1,9 +1,9 @@
#!/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