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
|
||||
if [ ! -f "$1" ]
|
||||
then
|
||||
echo "File \"$1\" not found"
|
||||
exit 1
|
||||
echo "File \"$1\" does not exist or is not a regular file"
|
||||
exit 2
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user