diff options
| author | Jon Chen | 2014-10-27 21:22:14 -0400 |
|---|---|---|
| committer | Jack Nagel | 2014-10-27 21:15:39 -0500 |
| commit | d62c54f79376da7b564beaf43c56860fd5f01e24 (patch) | |
| tree | cfc4813603de47312c0eb6ac72eec53e97a7983d /Library/Formula | |
| parent | 9a8f29c778076e09f65aea3ae0b0af4352e8d3a4 (diff) | |
| download | homebrew-d62c54f79376da7b564beaf43c56860fd5f01e24.tar.bz2 | |
iftop: make commands in caveats copy/paste-friendly
Closes #33662.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/iftop.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/iftop.rb b/Library/Formula/iftop.rb index 8a476aa62..6a3db26d4 100644 --- a/Library/Formula/iftop.rb +++ b/Library/Formula/iftop.rb @@ -18,8 +18,9 @@ class Iftop < Formula def caveats; <<-EOS.undent iftop requires superuser privileges. You can either run the program via `sudo`, or change its ownership to root and set the setuid bit: - $ sudo chown root:wheel #{sbin}/iftop - $ sudo chmod u+s #{sbin}/iftop + + sudo chown root:wheel #{sbin}/iftop + sudo chmod u+s #{sbin}/iftop In any case, you should be certain that you trust the software you are executing with elevated privileges. |
