diff --git a/file/file.drush.inc b/file/file.drush.inc index 5699821468b2fcd76c1fe433028ec6f7aa83b6c0..cfcd2aea3760c5642be541f05f240b425e86623e 100644 --- a/file/file.drush.inc +++ b/file/file.drush.inc @@ -163,7 +163,7 @@ class provisionService_file extends provisionService { function chown($path, $owner, $recursive = FALSE) { // we do not attempt to chown symlinks if (is_link($path)) { - return TRUE; + return $this; } $this->_clear_state(); @@ -200,7 +200,7 @@ class provisionService_file extends provisionService { function chgrp($path, $gid, $recursive = FALSE) { // we do not attempt to chown symlinks if (is_link($path)) { - return TRUE; + return $this; } $this->_clear_state();