mirror of
https://git.pionaiki.com/marta/nixie.git
synced 2025-11-20 14:27:22 +00:00
correct sudo validation
This commit is contained in:
parent
17b12cbb8e
commit
68389c10e8
1 changed files with 1 additions and 1 deletions
2
nixie
2
nixie
|
|
@ -112,7 +112,7 @@ RESTORE () {
|
||||||
pushd /etc/nixos > /dev/null
|
pushd /etc/nixos > /dev/null
|
||||||
|
|
||||||
echo -e "${IPurple}Running nixie. ${Purple}You might be asked to input the root password.${NC}"
|
echo -e "${IPurple}Running nixie. ${Purple}You might be asked to input the root password.${NC}"
|
||||||
sudo echo -n
|
sudo --validate
|
||||||
if [ "$1" == "pull" ]; then
|
if [ "$1" == "pull" ]; then
|
||||||
echo -e "${IPurple}Pulling from origin...${NC}"
|
echo -e "${IPurple}Pulling from origin...${NC}"
|
||||||
sudo git pull
|
sudo git pull
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue