diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-02 22:24:52 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-02 22:31:49 +0200 |
commit | 3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f (patch) | |
tree | 4b68dc43b02649061d93928a615dd889b5252c8d /script | |
parent | 724ae95b1f9bd0758bb9804f8035a7378790808e (diff) | |
download | App-BorgRestore-3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f.tar.gz App-BorgRestore-3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f.tar.xz |
Improve $PATH untaint comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-x | script/borg-restore.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index f42984e..eb881b0 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -236,7 +236,7 @@ sub main { logger_setup(); my %opts; - # untaint PATH because we only expect this to run as root + # untaint PATH because we do not expect this to be run across user boundaries $ENV{PATH} = App::BorgRestore::Helper::untaint($ENV{PATH}, qr(.*)); Getopt::Long::Configure ("bundling"); |