diff --git a/recipe/provision.php b/recipe/provision.php index a32194942..898dfde2c 100644 --- a/recipe/provision.php +++ b/recipe/provision.php @@ -37,7 +37,7 @@ desc('Checks pre-required state'); task('provision:check', function () { - if (get('remote_user') !== 'root') { + if (get('remote_user') !== 'root' && get('become') !== 'root') { warning(''); warning('Run provision as root: -o remote_user=root'); warning('or with a sudo enabled user: -o become=root');