Skip to content

Commit 35beb29

Browse files
committed
ensure bash
1 parent 8fdafda commit 35beb29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodebb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function setup( $args ) {
9696

9797
// Run initial setup
9898
chmod( $nodebb_folder . '/nodebb', 0750 );
99-
$cmd = 'runuser -l ' . $user . ' -c "cd ' . $nodebb_folder . ' && ./nodebb setup ';
99+
$cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "cd ' . $nodebb_folder . ' && ./nodebb setup ';
100100
$cmd .= "'" . addslashes(
101101
json_encode( [
102102
"admin:username" => $options['nodebb_username'],

0 commit comments

Comments
 (0)