diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-17 12:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 12:24:58 +0200 |
commit | 47108e2e093bae318773998a18f83d0504a402e0 (patch) | |
tree | 30b4052dc8b72c65d6407300685855f64e56015e /hack/check_root.sh | |
parent | 1db18bf10775cf0502d7e9be4946d1d29a6d8e06 (diff) | |
parent | ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (diff) | |
download | podman-47108e2e093bae318773998a18f83d0504a402e0.tar.gz podman-47108e2e093bae318773998a18f83d0504a402e0.tar.bz2 podman-47108e2e093bae318773998a18f83d0504a402e0.zip |
Merge pull request #7333 from openSUSE/bashify
Use `bash` binary from env instead of /bin/bash for scripts
Diffstat (limited to 'hack/check_root.sh')
-rwxr-xr-x | hack/check_root.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/check_root.sh b/hack/check_root.sh index 203eae9d3..1f53887ff 100755 --- a/hack/check_root.sh +++ b/hack/check_root.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if ! [ $(id -u) = 0 ]; then echo "Please run as root! '$@' requires root privileges." exit 1 |