aboutsummaryrefslogtreecommitdiffstats
path: root/iurt_root_command
diff options
context:
space:
mode:
Diffstat (limited to 'iurt_root_command')
-rwxr-xr-xiurt_root_command1
1 files changed, 1 insertions, 0 deletions
diff --git a/iurt_root_command b/iurt_root_command
index ce62f5c..6f07e7d 100755
--- a/iurt_root_command
+++ b/iurt_root_command
@@ -354,5 +354,6 @@ sub untar {
sub umount {
my ($_run, $dir) = @_;
+ check_path_authorized($dir) or return;
return !system("umount", $dir);
}