Remove boilerplate and condense the http handler down to one function.
Also fixed indenting on one line in shell script.
This commit is contained in:
1 parent
3f9eadda70
commit
3942f19897
3 files changed
+12
-37
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ usage() {
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
usage
|
||||
exit 1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ `id -u` = 0 ] || {
|
||||
|
||||
Reference in new issue
Block a user