Add suid and sudo to bridge

master
Andrea Cardaci 2021-01-17 23:25:31 +01:00 committed by GitHub
parent 629501ccc7
commit f7ff2ea852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

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"
---