add parenthesis to shell script
This commit is contained in:
parent
36f1d43a09
commit
cc012906f4
1 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
writeShellScriptBin "zvolcreate" ''
|
(writeShellScriptBin "zvolcreate" ''
|
||||||
SIZE=$1
|
SIZE=$1
|
||||||
ZVOL=$2
|
ZVOL=$2
|
||||||
|
|
||||||
|
|
@ -130,6 +130,6 @@ in {
|
||||||
echo "This script needs to be run as root"
|
echo "This script needs to be run as root"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
''
|
'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue