This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
CALLERS_UID="$1" | |
REFCOUNT_PATH="$2" | |
DCALL_PATH="$3" | |
if [ $UID -ne 0 ]; then | |
# Test that the script is run as root. | |
echo "Script must run as root" | |
exit 1 |