Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe04fb2

Browse filesBrowse files
authored
install.sh: Fix usage of su (#2529)
1 parent c4610f7 commit fe04fb2
Copy full SHA for fe04fb2

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎install.sh‎

Copy file name to clipboardExpand all lines: install.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ sudo_sh_c() {
525525
elif command_exists sudo; then
526526
sh_c "sudo $*"
527527
elif command_exists su; then
528-
sh_c "su -c '$*'"
528+
sh_c "su - -c '$*'"
529529
else
530530
echoh
531531
echoerr "This script needs to run the following command as root."

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.