diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2019-04-04 00:29:44 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2019-04-04 00:29:44 +0200 |
commit | 51f58d7c4c984ec8ccc5ab0a3d31d04cd39d499c (patch) | |
tree | 89c3b5fbe4fc78116dab1998897ea2475477a914 /rsync-backup.sh | |
parent | ab0cff3bb36721e982301e14435c0f4c8f313995 (diff) |
Fix bug: empty string considered as $PWD
Before, if the program was run with only a source argument, that has no
destination associated (e.g. in the configuration file), the destination
was accepted as the empty string, which translated to the local
directory (due to relative adressing).
This was due to the shell option nullglob, which now is unset in any
situations where `test -v' is used, which currently is only the case in
get_args. It is `test -v' that failed to recognize an undefined
variable.
Diffstat (limited to 'rsync-backup.sh')
0 files changed, 0 insertions, 0 deletions