Skip to content
Snippets Groups Projects
Commit e0c03558 authored by Jafar Lie's avatar Jafar Lie
Browse files

added check_scratch_dir.nhc

parent bc3c27a3
No related branches found
No related tags found
4 merge requests!378Yumansiblepackage,!377cloudinit,!34824june,!345Generate xorg local
#!/bin/bash
function check_scratch_dir() {
SCRATCH="/scratch"
if [[ ! -d $SCRATCH ]]
then
echo "Scratch Directory Does't Exists"
die 1 " $FUNCNAME ERROR Scratch Directory Does't Exists"
fi
return 0
}
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