1
0
Fork 0
fai-configspace/scripts/DEBIAN/10-rootpw

9 lines
131 B
Bash
Executable File

#! /bin/bash
error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
$ROOTCMD usermod -L root
exit $error