-create-pypo-user scripts missing an "import sys"
-airtime-uninstall will now quit upon the first error
This commit is contained in:
parent
4facadf521
commit
662d0ebf85
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Cause bash script to exit if any of the installers
|
||||
#return with a non-zero return value.
|
||||
set -e
|
||||
|
||||
# Absolute path to this script
|
||||
SCRIPT=`readlink -f $0`
|
||||
# Absolute directory this script is in
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
from subprocess import Popen, PIPE, STDOUT
|
||||
|
||||
def create_user(username):
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
def remove_user(username):
|
||||
|
|
Loading…
Reference in New Issue