summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 22:24:52 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 22:31:49 +0200
commit3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f (patch)
tree4b68dc43b02649061d93928a615dd889b5252c8d
parent724ae95b1f9bd0758bb9804f8035a7378790808e (diff)
downloadApp-BorgRestore-3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f.tar.gz
App-BorgRestore-3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f.tar.xz
Improve $PATH untaint comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xscript/borg-restore.pl2
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");