aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_utils/file.sh
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.bash_utils/file.sh')
-rw-r--r--%HOME%/.bash_utils/file.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/%HOME%/.bash_utils/file.sh b/%HOME%/.bash_utils/file.sh
index 6034713..6df20d0 100644
--- a/%HOME%/.bash_utils/file.sh
+++ b/%HOME%/.bash_utils/file.sh
@@ -17,12 +17,12 @@ swap_files() (
local path2="$2"
if [ ! -r "$path1" ] || [ ! -w "$path1" ]; then
- echo "${FUNCNAME[0]}: must be a regular file: $path1" >&2
+ echo "${FUNCNAME[0]}: must be readable and writable: $path1" >&2
return 1
fi
if [ ! -r "$path2" ] || [ ! -w "$path2" ]; then
- echo "${FUNCNAME[0]}: must be a regular file: $path2" >&2
+ echo "${FUNCNAME[0]}: must be readable and writable: $path2" >&2
return 1
fi