mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
fixed up
This commit is contained in:
parent
de3f43bf4d
commit
e2c4d6c654
@ -91,8 +91,8 @@ function is_file(){
|
|||||||
# Test if first argument is an existing file
|
# Test if first argument is an existing file
|
||||||
if [ ! -f "$1" ]
|
if [ ! -f "$1" ]
|
||||||
then
|
then
|
||||||
echo "File \"$1\" not found"
|
echo "File \"$1\" does not exist or is not a regular file"
|
||||||
exit 1
|
exit 2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user