Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- PROCESS="compile_source"
- PIDS=`ps cax | grep $PROCESS`
- if [ -z "$PIDS" ]
- then
- echo -e "Mozesz skompilowac source."
- else
- echo -e "Nie mozesz skompilowac source, gdyz one teraz jest kompilowane"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement