Add suid and sudo to bridge

This commit is contained in:
Andrea Cardaci
2021-01-17 23:25:31 +01:00
committed by GitHub
parent 629501ccc7
commit f7ff2ea852

View File

@@ -1,8 +1,16 @@
---
description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error.
functions:
file-read:
- description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error.
code: |
- code: |
LFILE=file_to_read
bridge -b "$LFILE"
suid:
- code: |
LFILE=file_to_read
./bridge -b "$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo bridge -b "$LFILE"
---