Skip to content
Snippets Groups Projects
Commit 949278ca authored by Dylan Wheeler's avatar Dylan Wheeler
Browse files

chore: adding missing variable definition

parent 2569e9e3
No related branches found
No related tags found
1 merge request!158FEAT: introduce shell script to allow user to disable another users crontab...
#!/bin/bash #!/bin/bash
username="$1"
usage() { usage() {
echo "Usage: $0 -d USERNAME to disable a user" echo "Usage: $0 -d USERNAME to disable a user"
echo "Usage: $0 -e USERNAME to re-enable a user" echo "Usage: $0 -e USERNAME to re-enable a user"
...@@ -12,7 +14,7 @@ fi ...@@ -12,7 +14,7 @@ fi
if [ -z "$username" ]; then if [ -z "$username" ]; then
usage usage
exit 1 exit1
fi fi
......
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