Script to show missing arguments

main
Bob Mottram 2022-03-13 10:36:46 +00:00
parent 5eefbb5249
commit 6a59a9b66c
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep 'required positional arguments' > .missing_arguments.txt
if [ ! -f .missing_arguments.txt ]; then
echo 'No missing arguments'
else
cat .missing_arguments.txt
fi