Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 2bf555f

Browse files
committed
Remove type strict comparison for mount_env_passwd option.
1 parent d129489 commit 2bf555f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/plugins/meta.mount/class.FilesystemMounter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ public function mountFS()
136136

137137
$cmd = ($MOUNT_SUDO? "sudo ": ""). "mount -t " .$MOUNT_TYPE. (empty( $MOUNT_OPTIONS )? " " : " -o " .$MOUNT_OPTIONS. " " ) .$UNC_PATH. " " .$MOUNT_POINT;
138138
$res = null;
139-
if($this->getOption("MOUNT_ENV_PASSWD") === true){
139+
if($this->getOption("MOUNT_ENV_PASSWD") == true){
140140
putenv("PASSWD=$password");
141141
}
142142
system($cmd, $res);
143-
if($this->getOption("MOUNT_ENV_PASSWD") === true){
143+
if($this->getOption("MOUNT_ENV_PASSWD") == true){
144144
putenv("PASSWD=");
145145
}
146146
if($res === null){

0 commit comments

Comments
 (0)