diff options
author | Joe Rayhawk <jrayhawk@fairlystable.org> | 2025-01-01 11:55:43 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@fairlystable.org> | 2025-01-01 11:55:43 -0800 |
commit | 67eac573f119434fe78f84be6ebf5aa0195e49bb (patch) | |
tree | 85ff4541f77753c993c4caa285ab383fe79f7634 /pinyweb/cgi-bin/newuser.cgi | |
parent | ad88f6d199ad33715645b7eae5881ab3a489a1fb (diff) | |
download | piny-code-67eac573f119434fe78f84be6ebf5aa0195e49bb.tar.gz piny-code-67eac573f119434fe78f84be6ebf5aa0195e49bb.zip |
newuser: improved error path experience
Diffstat (limited to 'pinyweb/cgi-bin/newuser.cgi')
-rwxr-xr-x | pinyweb/cgi-bin/newuser.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/newuser.cgi b/pinyweb/cgi-bin/newuser.cgi index 75fa7c8..bb48103 100755 --- a/pinyweb/cgi-bin/newuser.cgi +++ b/pinyweb/cgi-bin/newuser.cgi @@ -37,7 +37,7 @@ if( scalar( $q->param("n") ) && scalar( $q->param("a") ) && scalar( $q->param("p if ( scalar( $q->param("h") ) ) { if ( scalar( $q->param("h") ) eq $code ) { unless( open2( OUT, IN, "/usr/bin/sudo", "/usr/sbin/newuser", "--batch", scalar( $q->param("a") ), scalar( $q->param("n") ) ) ) { - print "could not execute newrepo"; + print "could not execute newuser"; die; }; # make things flushier |